Case¶
Constructors¶
create¶
Returns¶
- Case val^
Public Functions¶
upper¶
Uppercase every cp via its full (multi-cp) or simple (single-cp)
Uppercase mapping. Returns InvalidUtf8 for ill-formed input.
Parameters¶
- s: String box
Returns¶
- (String iso^ | InvalidUtf8 val)
lower¶
Lowercase every cp via its full or simple Lowercase mapping.
Parameters¶
- s: String box
Returns¶
- (String iso^ | InvalidUtf8 val)
title¶
Titlecase using a "simple word-start" rule: cps at the start of the string or following a White_Space cp are titlecased; others are lowercased. See the file header for limitations.
Parameters¶
- s: String box
Returns¶
- (String iso^ | InvalidUtf8 val)
fold¶
Default full case folding for caseless comparison. Each cp is replaced by its full casefold expansion if present, else its simple casefold, else itself.
Parameters¶
- s: String box
Returns¶
- (String iso^ | InvalidUtf8 val)
eq¶
Parameters¶
- that: Case val
Returns¶
- Bool val
ne¶
Parameters¶
- that: Case val
Returns¶
- Bool val