|This method is obsolete. See the Remarks section below.|
Utilities.CompareStr method compares two strings. Comparison is case-sensitive. The comparison operation is not affected by the current locale.
The method is applied to the following object:
The method has the following parameters:
Specify the strings that should be compared.
The result value is greater than zero if Str1 > Str2. If Str1 < Str2, the result value is less than zero. It equals zero only if Str1 = Str2, which means the strings are identical.
This method is obsolete. It is supported for backward compatibility only. To compare two strings, use the