ESLSTR Function
Compare two strings to determine whether they are equal.
StringCompareFunction(STRING1_SV, STRING2_SV, SEARCH_CHARS_IV)
STRING1_SV
STRING2_SV
The identifiers for the strings you want compared.
SEARCH_CHARS_IV
An integer indicating the number of characters to which you want to limit the search. Specify zero (0) to compare the entire string.
Description
Use this function to compare STRING1_SV to STRING2_SV to determine whether they are equal. Specify SEARCH_CHARS to limit the search to a number of characters. The function returns: 0 if the strings are equal; a positive integer if STRING1_SV is greater than STRING2_SV; and a negative integer if STRING1_SV is less than STRING2_SV.
Note that the compare operation is not case-sensitive. For example, "Moe" compares equally to "MOE".