RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStrings.SameFileName Function

Compare file names for equality.

Pascal
function SameFileName(const S1: AnsiString; const S2: AnsiString): Boolean;
C++
Boolean SameFileName(const AnsiString S1, const AnsiString S2);

SameFileName returns true if two files name are the same according to AnsiCompareFileName and false otherwise. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!