Unit 'MaskUtils' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

MaskDoFormatText

Return an input mask text without literals or space char.

Declaration

Source position: maskutils.pp line 42

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

FormatMaskInput

  

Return an input mask text based on the edit mask.

FormatMaskText

  

Format a text according to a given mask.

TMaskUtils

  

Class to manipulate and work with edit masks.

TMaskUtils.InputMask

  

Text to be used as input mask.


Documentation generated on: Oct 27 2024