package annexlib

  1. Overview
  2. Docs
val combine : string list -> string
val implode : char list -> string
val of_array : char array -> string
val map : (char -> char) -> string -> string
val mapi : (char -> int -> char) -> string -> string
val subpos : string -> int -> int -> string
val repeat : string -> int -> string
val iteri : (char -> int -> unit) -> string -> unit
val fold_left : ('a -> char -> 'a) -> 'a -> string -> 'a
val fold_right : ('a -> char -> 'a) -> string -> 'a -> 'a
val ensure : (char -> bool) -> string -> bool
val ensure_range : (char -> bool) -> string -> int -> int -> bool
val explode : string -> char list
val to_array : string -> char array
val center : ?pad:char -> ?trunc:bool -> string -> int -> string
val ljust : ?pad:char -> ?trunc:bool -> string -> int -> string
val rjust : ?pad:char -> ?trunc:bool -> string -> int -> string
type trim_style = [
  1. | `Both
  2. | `Left
  3. | `Right
]
val trim : ?style:trim_style -> string -> char -> string
val map_inplace : (char -> char) -> string -> unit
val mapi_inplace : (char -> int -> char) -> string -> unit
val rev : string -> string
val first_word : string -> string
val cut_first_char : string -> string
val cut_first_n : string -> int -> string
val cut_last_char : string -> string
val cut_last_n : string -> int -> string
val cut_first_word : string -> string
val split_at : str:string -> sep:char -> string
val chomp : string -> string
val right : string -> int -> string
val left : string -> int -> string
val uppercase : string -> string
val lowercase : string -> string
val capitalize : string -> string
val uncapitalize : string -> string
val first_of : string -> string -> int
val first_of_from : string -> string -> int -> int
val last_of : string -> string -> int
val last_of_from : string -> string -> int -> int
val first_not_of : string -> string -> int
val first_not_of_from : string -> string -> int -> int
val last_not_of : string -> string -> int
val last_not_of_from : string -> string -> int -> int
val prefix : string -> string -> bool
val suffix : string -> string -> bool
val index_substr : string -> string -> int
val index_substr_from : string -> string -> int -> int
val match_substr : string -> string -> int -> bool
module FastSearch : sig ... end
val common_prefix : string list -> string
val replace : string -> string -> string -> string
val collate : string -> string -> int
val compare_insensitive : string -> string -> int
module Collate : sig ... end
module CaseInsensitive : sig ... end
OCaml

Innovation. Community. Security.