FileMatchesMask Method
Checks whether a particular file or directory name matches the specified mask.
Syntax
bool __fastcall FileMatchesMask(String Mask, String FileName, bool CaseSensitive);
Remarks
This method checks whether the file or directory name specified by FileName matches Mask; if it does, this method returns true. The CaseSensitive parameter controls whether a case-sensitive match should be performed.