All Manuals > LispWorks® User Guide and Reference Manual > 38 The LISPWORKS Package

unicode-char-greaterp

unicode-char-lessp Functions

Summary

Compares two characters, ignoring case using specified Unicode rules.

Package

lispworks

Signatures

unicode-char-greaterp char1 char2 &key style => flag

unicode-char-lessp char1 char2 &key style => flag

Arguments
char1
A character.
char2
A character.
style
A keyword.
Values
flag
A generalized boolean.
Description

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.

See also

unicode-char-equal
unicode-char-not-greaterp


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41