System.Masks.TMask

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTMask

Delphi

TMask = class

C++

class PASCALIMPLEMENTATION TMask : public System::TObject

Properties

Type Visibility Source Unit Parent
class public
System.Masks.pas
System.Masks.hpp
System.Masks System.Masks

Description

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

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.

See Also