module Misc:Misc convenient functionssig..end
val escape_quotes : string -> stringval escape_entities : string -> stringval apply_opt : ('a -> 'b) -> 'a option -> 'b optionval simplify_opt : 'a option option -> 'a optionval break_string : char -> string -> string listMore precisely, a word is a range of consecutive characters that respectively begins and ends by the separator or respectively by the beginning or the end of the string.
break_string '|' "a|b" = ["a"; "b"]
break_string '|' "a|b|c" = ["a"; "b"; "c"]
break_string '|' "a|" = ["a"; ""]
break_string '|' "|a" = [""; "a"]
break_string '|' "|" = [""; ""]
break_string '|' "a" = ["a"]
val opt_of_string : string -> string optionval string_of_opt : string option -> stringval no_blanks : string -> stringno_blanks s return the given string without any blank
characters, i.e. '\n' '\r' ' ' '\t'.