LispWorks User Guide and Reference Manual > 34 The LISPWORKS Package

NextPrevUpTopContentsIndex

unicode-string-equal

Function
Summary

Compares two strings, ignoring case using specified Unicode rules.

Package

lispworks

Signature

unicode-string-equal string1 string2 &key start1 start2 end1 end2 style => flag

Arguments

string1

A string designator

string2

A string designator

start1 , end1

Bounding index designators of string1

start2 , end2

Bounding index designators of string2

style

A keyword

Values

flag

A generalized boolean

Description

The function unicode-string-equal compares the designated substrings of string1 and string2 , 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 returned value flag is true if the strings are equal and false otherwise.

The current implementation only supports one style of comparison:

:simple-case-fold

Compares each character of the strings using Unicode's simple case folding rules.

See also

choose-unicode-string-hash-function
unicode-string-not-equal


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex