CompareFilenameStarts function
Compares file names using the number characters in common.
Declaration
function CompareFilenameStarts(const Filename1: string;
const Filename2: string): IntegerArguments
Filename1 | First file name for the comparison. |
Filename2 | Second file name for the comparison. |
Function result
Relative sort order for the compared values.
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
