All Manuals > LispWorks® User Guide and Reference Manual > 26 Internationalization: characters, strings and encodings

26.7 Unicode character and string functions

This section lists functions which compare characters and strings similarly to cl:char-equal, cl:string-greaterp and so on, but which use Unicode's simple case folding rules.

There are also predicates for properties of characters in Unicode's "general category", corresponding to cl:alpha-char-p, cl:both-case-p and so on.

26.7.1 Unicode case insensitive character comparison

The functions unicode-char-equal, unicode-char-not-equal, unicode-char-lessp, unicode-char-not-lessp, unicode-char-greaterp and unicode-char-not-greaterp compare characters similarly to cl:char-equal etc, but using Unicode's simple case folding rules.

26.7.2 Unicode case insensitive string comparison

The functions unicode-string-equal, unicode-string-not-equal, unicode-string-lessp, unicode-string-not-lessp, unicode-string-greaterp and unicode-string-not-greaterp compare strings similarly to cl:string-equal etc, but using Unicode's simple case folding rules.

26.7.3 Unicode character predicates

The predicates unicode-alphanumericp, unicode-alpha-char-p, unicode-lower-case-p, unicode-upper-case-p and unicode-both-case-p test for properties of a character in Unicode's "general category".


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