StrCompare

StrCompare(<str1>, <str2> [, <casesense>])
StrCompare <VAR> <str1> <str2> [<casesense>]

Compares two strings and returns the result. The comparison is done lexigraphically.

Parameters

str1First string.
str2Second string.
casesenseCase sensitive search.

Result

0The strings are equal.
>0The first string is greater than the second.
<0The first string is less than the second.