System.AnsiStrings.SameFileName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE bool __fastcall SameFileName(const System::AnsiString S1, const System::AnsiString S2)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

Description

Compare file names for equality.

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

See Also