Used to compare strings and return their lexical order.


STRING_COMPARE(string1, string2) -> comparison_result


string1 (type: string)
The first string.
string2 (type: string)
The second string.

Return Values

comparison_result (type: number)
0 if the strings are identical. Negative if string1 is before string2. 1 if string2 is bfore string1.

Was this article helpful?

0 out of 0 found this helpful

Add comment

Please sign in to leave a comment.