ExtString

`sig
exception Invalid_string
module String :
sig
val init : int -> (int -> char) -> string
val find : string -> string -> int
val split : string -> string -> string * string
val nsplit : string -> string -> string list
val join : string -> string list -> string
val slice : ?first:int -> ?last:int -> string -> string
val lchop : string -> string
val rchop : string -> string
val of_int : int -> string
val of_float : float -> string
val of_char : char -> string
val to_int : string -> int
val to_float : string -> float
val ends_with : string -> string -> bool
val starts_with : string -> string -> bool
val enum : string -> char Enum.t
val of_enum : char Enum.t -> string
val map : (char -> char) -> string -> string
val fold_left : ('a -> char -> 'a) -> 'a -> string -> 'a
val fold_right : (char -> 'a -> 'a) -> string -> 'a -> 'a
val explode : string -> char list
val implode : char list -> string
val strip : ?chars:string -> string -> string
val exists : string -> string -> bool
val replace_chars : (char -> string) -> string -> string
val replace : str:string -> sub:string -> by:string -> bool * string
val length : string -> int
val get : string -> int -> char
val set : string -> int -> char -> unit
val create : int -> string
val make : int -> char -> string
val copy : string -> string
val sub : string -> int -> int -> string
val fill : string -> int -> int -> char -> unit
val blit : string -> int -> string -> int -> int -> unit
val concat : string -> string list -> string
val iter : (char -> unit) -> string -> unit
val escaped : string -> string
val index : string -> char -> int
val rindex : string -> char -> int
val index_from : string -> int -> char -> int
val rindex_from : string -> int -> char -> int
val contains : string -> char -> bool
val contains_from : string -> int -> char -> bool
val rcontains_from : string -> int -> char -> bool
val uppercase : string -> string
val lowercase : string -> string
val capitalize : string -> string
val uncapitalize : string -> string
type t = string
val compare : ExtString.String.t -> ExtString.String.t -> int
external unsafe_get : string -> int -> char = "%string_unsafe_get"
external unsafe_set : string -> int -> char -> unit
= "%string_unsafe_set"
external unsafe_blit : string -> int -> string -> int -> int -> unit
= "caml_blit_string" "noalloc"
external unsafe_fill : string -> int -> int -> char -> unit
= "caml_fill_string" "noalloc"
end
end`