unicode-string-not-greaterp string1 string2 &key start1 start2 end1 end2 style => mismatch-index
unicode-string-not-lessp string1 string2 &key start1 start2 end1 end2 style => mismatch-index
A string designator
A string designator
Bounding index designators of string1
Bounding index designators of string2
A keyword
The functions unicode-string-not-greaterp
and unicode-string-not-lessp
compare the designated substrings of string1 and string2, similarly to cl:string-not-greaterp
and cl:string-not-lessp
but ignoring case using Unicode rules specified by style. The values of start1 and start2 default to 0, while the values of end1 and end2 default to nil
.
The value of mismatch-index is the index where the strings mismatch (as an offset from the beginning of string1) if substring1 is not greater (or for unicode-string-not-lessp
, not less) than substring2, or nil
otherwise.
The current implementation only supports one style of comparison:
Compares each character of the string using the simple lowercase folding rules in Unicode 6.3.0.
LispWorks User Guide and Reference Manual - 20 Sep 2017