|This method is obsolete. See the Remarks section below.|
Utilities.AnsiCompareFileName method compares two file names under control of the current locale. Comparison is case-insensitive.
The method is applied to the following object:
The method has the following parameters:
The strings that specify the file names that should be compared by the method.
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 file names are identical.
This method is obsolete. It is supported for backward compatibility only. To compare string values, use the