module Strings:sig..end
val lowercase : string -> string
val uppercase : string -> string
val capitalize : string -> string
val uncapitalize : string -> stringval char_is_uppercase : char -> bool
val rev_split : char -> string -> string list
val split : char -> string -> string listsplit c s splits s into substrings, taking as delimiter the
character c, and returns the list of substrings. An occurrence of
the delimiter at the beginning or at the end of the string is
ignored.
val bounded_split : char -> string -> int -> string listbounded_split c s n do the same as split c s but splits into
n substring at most.
The concatenation of returned substrings is equal to the string s.
val join : string -> string list -> stringjoin sep l joins all the strings in l together, in the same
order, separating them by sep.
val pad_right : char -> string -> int -> stringChop or pad the given string on the right up to the given length.
val has_prefix : prefix:string -> string -> boolhas_prefix prefix s returns true if s starts with prefix prefix.
val remove_prefix : prefix:string -> string -> stringremove_prefix pref s removes the prefix pref from s.
Not_found if s does not start with pref.val has_suffix : suffix:string -> string -> boolhas_suffix suffix s returns true if s ends with suffix suffix.
val remove_suffix : suffix:string -> string -> stringremove_suffix suff s removes the suffix suff from s.
Not_found if s does not end with suff.