Module CaseMap.Make

Parameters

module Config : ConfigInt.Type
module Text : UnicodeString.Type

Signature

type text = Text.t
val lowercase : ?⁠locale:string -> text -> text
val uppercase : ?⁠locale:string -> text -> text
val capitalize : ?⁠locale:string -> text -> text

Capitalize the first letter of the text

val titlecase : ?⁠locale:string -> text -> text

Capitalize the beginning of words

val casefolding : text -> text

Case foldding

val compare_caseless : text -> text -> int

Caseless comparison