[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Masks' (#lazutils)

TMaskUTF8.Create

Constructor for the class instance.

Declaration

Source position: masks.pas line 248

public constructor TMaskUTF8.Create(

  const aMask: string

); overload;

constructor TMaskUTF8.Create(

  const aMask: string;

  aCaseSensitive: Boolean

); overload;

constructor TMaskUTF8.Create(

  const aMask: string;

  aCaseSensitive: Boolean;

  aOpcodesAllowed: TMaskOpCodes

); virtual; overload;

constructor TMaskUTF8.Create(

  const aMask: string;

  aOptions: TMaskOptions

); overload;

Arguments

aMask

  

Mask expression for the class instance.

Arguments

aMask

  

Mask expression for the class instance.

aCaseSensitive

  

True if comparisons are performed with case sensitivity.

Arguments

aMask

  

Mask expression for the class instance.

aCaseSensitive

  

True if comparisons are performed with case sensitivity.

aOpcodesAllowed

  

Set of op codes allowed for the compiled mask expression.

Arguments

aMask

  

Mask expression for the class instance.

aOptions

  

Set of TMaskOption values enabled for the class instance.

Description

Create is the overloaded constructor for the class instance. It includes an AMask argument which contains the expression stored in the Mask property. Variants of the method also allow the value in CaseSensitive to be set. Set arguments can be provided which contain the TMaskOpCode values or the TMaskOption values used in the class instance.

Remark: The variant which includes a TMaskOptions parameter has been deprecated in version 2.3, and will be removed in version 2.5. Use the variant which includes a TMaskOpCodes parameter.

Version 4.0 Generated 2025-05-03 Home