[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Compares file names using the number characters in common.
Source position: lazfileutils.pas line 31
function CompareFilenameStarts( |
const Filename1: string; |
const Filename2: string |
):Integer; |
Filename1 |
|
First file name for the comparison. |
Filename2 |
|
Second file name for the comparison. |
Relative sort order for the compared values.
CompareFilenameStarts is an Integer function used to compare the specified file names to determine their relative sort order. Arguments in Filename1 and Filename2 do not need to be the same length. When they have different lengths, the number of characters common to both are used in the comparison. CompareFilenameStarts calls CompareFileNames to perform the comparison, and get the return value for the function.
See CompareFilenames for more information about the numeric return value and its meaning.
|
Gets the relative sort order for the specified file names. |
Version 3.2 | Generated 2024-02-25 | Home |