Compare
Last updated
Last updated
Performs a case-sensitive comparison of two strings.
-1, if string1 is less than string2 0, if string1 is equal to string2 1, if string1 is greater than string2
Argument | Type | Required | Description | Default |
---|---|---|---|---|
string1
any
true
The first string to compare
string2
any
true
The second string to compare