MatchesMask Method
The MatchesMask performs match of the file name against the specified file mask.
Syntax
MatchesMask(file, mask)
Parameters
file
Required. String specifying the name of the file the match should be performed on.
mask
Required. String specifying the file mask the match should be performed against.
Return Values
If the file name matches the specified mask the return value is true. Otherwise the return value is false.