CString
module type ExtS = sig ... end
include ExtS
We include the standard library
include S
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
Equality on strings
Remove the eventual first surrounding simple quotes of a string.
As index_from
, but takes a string instead of a char as pattern argument
As contains
, but takes a string instead of a char as pattern argument
conjugate_verb_to_be
returns "is" when n=1
and "are" otherwise
is_sub p s off
tests whether s
contains p
at offset off
.
*
module Pred : Predicate.S with type elt = t
module List : CList.MonoS with type elt = t
Association lists with string
as keys