Your Airkit journey starts here

STRING_COMPARE

Used to compare strings and return their lexical order.

Declaration

STRING_COMPARE(string1, string2) -> comparison_result

Parameters

string1
string -The first string.
string2
string -The second string.

Return Values

comparison_result
number -0 if the strings are identical. Negative if string1 is before string2. 1 if string2 is bfore string1.