Compares file names based on the current locale.
function SameFileName(const S1: string; const S2: string): Boolean;
Boolean SameFileName(const AnsiString S1, const AnsiString S2);
SysUtils
SameFileName compares two file names in the same way as AnsiCompareFileName. SameFileName returns true if the file names match, false otherwise. Like AnsiCompareFileName, SameFileName supports locales and MBCS strings; see the AnsiCompareFileName topic for more details.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|