Xstringext.String
include module type of Stdlib.String
val to_seq : t -> char Stdlib.Seq.t
val to_seqi : t -> (int * char) Stdlib.Seq.t
val of_seq : char Stdlib.Seq.t -> t
val get_utf_8_uchar : t -> int -> Stdlib.Uchar.utf_decode
val is_valid_utf_8 : t -> bool
val get_utf_16be_uchar : t -> int -> Stdlib.Uchar.utf_decode
val is_valid_utf_16be : t -> bool
val get_utf_16le_uchar : t -> int -> Stdlib.Uchar.utf_decode
val is_valid_utf_16le : t -> bool
Map a string to a string, applying the given function in reverse order.
Iterate over the characters in a string in reverse order.
Iterate over the characters in a string in reverse order.
Removes all the characters from the ends of a string for which the predicate is true
Backward-compatible string escaping, defaulting to the built-in OCaml string escaping but allowing an arbitrary mapping from characters to strings.
Take a predicate and a string, return a list of strings separated by runs of characters where the predicate was true
find all occurences of needle in haystack and return all their respective index
map a string trying to fill the buffer by chunk
a substring from the specified position to the end of the string
a substring from the start of the string to the first occurrence of a given character, excluding the character