Compare strings
Compares string values
Evaluation
This expression evaluates to a function of the form:
(a, b) -> long
The function is consistent with sort order semantics of the Sort step.
Processing
Arguments a
and b
are compared and one of the following values is returned:
0
ifa
andb
are equal-1
ifa
is lexicographically less thanb
1
ifa
is lexicographically greater thanb
An error is thrown if either a
or b
is not a string and not nil
Settings
Name | Type | Description |
---|---|---|
Case Sensitive |
string |
If If |
Nil Values |
string |
Defines how to sort
|