1
external length : string -> int = "%string_length"
2
external get : string -> int -> char = "%string_safe_get"
3
external set : string -> int -> char -> unit = "%string_safe_set"
4
external create : int -> string = "caml_create_string"
5
val make : int -> char -> string
6
val copy : string -> string
7
val sub : string -> int -> int -> string
8
val fill : string -> int -> int -> char -> unit
9
val blit : string -> int -> string -> int -> int -> unit
10
val concat : string -> string list -> string
11
val iter : (char -> unit) -> string -> unit
12
val escaped : string -> string
13
val index : string -> char -> int
14
val rindex : string -> char -> int
15
val index_from : string -> int -> char -> int
16
val rindex_from : string -> int -> char -> int
17
val contains : string -> char -> bool
18
val contains_from : string -> int -> char -> bool
19
val rcontains_from : string -> int -> char -> bool
20
val uppercase : string -> string
21
val lowercase : string -> string
22
val capitalize : string -> string
23
val uncapitalize : string -> string
25
val compare : t -> t -> int
26
external unsafe_get : string -> int -> char = "%string_unsafe_get"
27
external unsafe_set : string -> int -> char -> unit = "%string_unsafe_set"
28
external unsafe_blit :
29
string -> int -> string -> int -> int -> unit = "caml_blit_string"
31
external unsafe_fill :
32
string -> int -> int -> char -> unit = "caml_fill_string" "noalloc"