IgnoreAsciiCase¶
Compares two strings lexicographically and case-insensitively. Only works for ASCII strings.
Constructors¶
create¶
Returns¶
- IgnoreAsciiCase val^
Public Functions¶
compare¶
Less: left sorts lexicographically smaller than right Equal: same size, same content Greater: left sorts lexicographically higher than right
_compare("A", "B") ==> Less _compare("AA", "A") ==> Greater _compare("A", "AA") ==> Less _compare("", "") ==> Equal
Parameters¶
Returns¶
eq¶
Returns true if both strings have the same size and compare equal ignoring ASCII casing.
Parameters¶
Returns¶
- Bool val
ne¶
Parameters¶
- that: IgnoreAsciiCase val
Returns¶
- Bool val