6 lines
138 B
OCaml
6 lines
138 B
OCaml
(* Assign empty string to a variable *)
|
|
val s = ""
|
|
(* Check that a string is empty*)
|
|
s = ""
|
|
(* Check that a string is nonempty *)
|
|
s <> ""
|