Compares two characters, ignoring case using specified Unicode rules.
lispworks
unicode-char-greaterp char1 char2 &key style => flag
unicode-char-lessp char1 char2 &key style => flag
| char1⇩ |
A character. |
| char2⇩ |
A character. |
| style⇩ |
A keyword. |
| flag |
A generalized boolean. |
The functions unicode-char-greaterp and unicode-char-lessp return true if the character char1 is greater than (or for unicode-char-lessp, less than) the character char2, similarly to cl:char-greaterp and cl:char-lessp but ignoring case using Unicode rules specified by style.
The current implementation only supports one style of comparison:
:simple-case-fold | Compares characters using the simple lowercase folding rules in Unicode 6.3.0. |
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:27