Application Integration
- Application Integration
- All Products
fn:compare(comparand1, comparand2, collation)
Argument | Required/Optional | Description |
|---|---|---|
comparand1 | Required | The first string to be compared. This can be a
valid string or empty-sequence() . |
comparand2 | Required | The second string to be compared. This can
also be a valid string or
empty-sequence() . |
collation | Optional | A string that specifies the collation URI to
be used for the comparison. If omitted, the default collation is
used. The collation affects how string comparison is done,
taking locale-specific rules into account. |
|
|
|---|---|
|
|
|
|
|
|
|
|
|
This shows that when using the simple code point collation, a
lowercase a comes after an uppercase
B . |
|
|
|
|
|
|
|
|