Module Ocamlformat_stdlib.String
val sub : t -> pos:int -> len:int -> tval unsafe_sub : t -> pos:int -> len:int -> tval subo : ?pos:int -> ?len:int -> t -> tval of_list : elt list -> tval of_array : elt array -> tval filter : t -> f:(elt -> bool) -> tval filter_map : t -> f:(elt -> elt option) -> tval partition_tf : t -> f:(elt -> bool) -> t * tval partition_map : t -> f:(elt -> (elt, elt) Base__.Either0.t) -> t * tval iter : t -> f:(elt -> unit) -> unitval fold : t -> init:'acc -> f:('acc -> elt -> 'acc) -> 'accval fold_result :
t ->
init:'acc ->
f:('acc -> elt -> ('acc, 'e) result) ->
('acc, 'e) resultval fold_until :
t ->
init:'acc ->
f:('acc -> elt -> ('acc, 'final) Base__Container_intf.Continue_or_stop.t) ->
finish:('acc -> 'final) ->
'finalval exists : t -> f:(elt -> bool) -> boolval for_all : t -> f:(elt -> bool) -> boolval count : t -> f:(elt -> bool) -> intval sum :
(module Base__Container_intf.Summable with type t = 'sum) ->
t ->
f:(elt -> 'sum) ->
'sumval find : t -> f:(elt -> bool) -> elt optionval find_map : t -> f:(elt -> 'a option) -> 'a optionval to_list : t -> elt listval to_array : t -> elt arrayval min_elt : t -> compare:(elt -> elt -> int) -> elt optionval max_elt : t -> compare:(elt -> elt -> int) -> elt optionval foldi : t -> init:'a -> f:(int -> 'a -> elt -> 'a) -> 'aval iteri : t -> f:(int -> elt -> unit) -> unitval existsi : t -> f:(int -> elt -> bool) -> boolval for_alli : t -> f:(int -> elt -> bool) -> boolval counti : t -> f:(int -> elt -> bool) -> intval findi : t -> f:(int -> elt -> bool) -> (int * elt) optionval find_mapi : t -> f:(int -> elt -> 'a option) -> 'a optionval init : int -> f:(int -> elt) -> tval mapi : t -> f:(int -> elt -> elt) -> tval filteri : t -> f:(int -> elt -> bool) -> tval filter_mapi : t -> f:(int -> elt -> elt option) -> tval t_of_sexp : Sexplib0__.Sexp.t -> tval sexp_of_t : t -> Sexplib0__.Sexp.tval of_string : string -> tval to_string : t -> stringval (>=) : t -> t -> boolval (<=) : t -> t -> boolval (<>) : t -> t -> boolval compare : t -> t -> intval ascending : t -> t -> intval descending : t -> t -> intval between : t -> low:t -> high:t -> boolval clamp_exn : t -> min:t -> max:t -> tval clamp : t -> min:t -> max:t -> (t, Base__.Info.t) resultval hashable : t Base__Hashable_intf.Hashable.tval invariant : t -> unitval mem : t -> char -> boolval get : t -> int -> charval unsafe_get : string -> int -> charval make : int -> char -> tval concat : ?sep:t -> t list -> tval contains : ?pos:int -> ?len:int -> t -> char -> boolval uncapitalize : t -> tval index : t -> char -> int optionval index_exn : t -> char -> intval index_from : t -> int -> char -> int optionval index_from_exn : t -> int -> char -> intval rindex : t -> char -> int optionval rindex_exn : t -> char -> intval rindex_from : t -> int -> char -> int optionval rindex_from_exn : t -> int -> char -> intval substr_index : ?pos:int -> t -> pattern:t -> int optionval substr_index_exn : ?pos:int -> t -> pattern:t -> intval substr_index_all : t -> may_overlap:bool -> pattern:t -> int listval substr_replace_first : ?pos:int -> t -> pattern:t -> with_:t -> tval substr_replace_all : t -> pattern:t -> with_:t -> tval is_substring : t -> substring:t -> boolval is_substring_at : t -> pos:int -> substring:t -> boolval to_list_rev : t -> char listval is_suffix : t -> suffix:t -> boolval is_prefix : t -> prefix:t -> boolval lsplit2_exn : t -> on:char -> t * tval rsplit2_exn : t -> on:char -> t * tval lsplit2 : t -> on:char -> (t * t) optionval rsplit2 : t -> on:char -> (t * t) optionval split : t -> on:char -> t listval split_on_chars : t -> on:char list -> t listval split_lines : t -> t listval lfindi : ?pos:int -> t -> f:(int -> char -> bool) -> int optionval rfindi : ?pos:int -> t -> f:(int -> char -> bool) -> int optionval lstrip : ?drop:(char -> bool) -> t -> tval rstrip : ?drop:(char -> bool) -> t -> tval strip : ?drop:(char -> bool) -> t -> tval concat_map : ?sep:t -> t -> f:(char -> t) -> tval concat_mapi : ?sep:t -> t -> f:(int -> char -> t) -> tval tr : target:char -> replacement:char -> t -> tval tr_multi : target:t -> replacement:t -> (t -> t) Base__.Staged.tval chop_suffix_exn : t -> suffix:t -> tval chop_prefix_exn : t -> prefix:t -> tval chop_suffix : t -> suffix:t -> t optionval chop_prefix : t -> prefix:t -> t optionval chop_suffix_if_exists : t -> suffix:t -> tval chop_prefix_if_exists : t -> prefix:t -> tval suffix : t -> int -> tval prefix : t -> int -> tval drop_suffix : t -> int -> tval drop_prefix : t -> int -> tval common_suffix : t list -> tval common_prefix : t list -> tval common_suffix_length : t list -> intval common_prefix_length : t list -> intval common_suffix2 : t -> t -> tval common_prefix2 : t -> t -> tval common_suffix2_length : t -> t -> intval common_prefix2_length : t -> t -> intval concat_array : ?sep:t -> t array -> tval concat_lines : ?crlf:bool -> string list -> stringval equal : t -> t -> boolval of_char_list : char list -> tval pad_left : ?char:char -> string -> len:int -> stringval pad_right : ?char:char -> string -> len:int -> stringval starts_with_whitespace : string -> boolval ends_with_whitespace : string -> boolval indent_of_line : string -> int option