Sign in Join
FPDoc Onlineexperiment

MaskDoFormatText function

In unit MaskUtils

Return an input mask text without literals or space char.

Declaration

pascal
function MaskDoFormatText(const EditMask: string; const AValue: string; 
 ASpaceChar: char): string

Arguments

EditMask

Edit mask to apply.

AValue

Value on which to apply the edit mask.

ASpaceChar

Space character to use in the edit mask.

Function result

The formatted text.

Description

MaskDoFormatText formats the aValue string using EditMask, but enforces the 2d (space char is aSpaceChar) and 3d (force use of literals) fields of EditMask.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.