RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMask Class

TMask allows the comparison of strings containing wildcards to a file mask.

Pascal
TMask = class;
C++
class TMask;

Use TMask to determine if a string matches the format described by a mask. The mask contains literal characters, wildcards that can match any character, and sets that match a single character that is included in the set.

Note: Do not confuse TMask with the EditMask of a field or masked edit object. While both are used for comparing strings to a symbolic description of valid values, the special mask symbols and matching rules are completely different.
 

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