FormatMaskText function
Format a text according to a given mask.
Declaration
function FormatMaskText(const EditMask: string; const AValue: string)
: stringArguments
EditMask | Edit mask to apply. |
AValue | Value to apply edit mask to. |
Function result
The formatted text.
Description
FormatMaskText formats
aValue according to the mask placeholders found in
EditMask and returns the resulting string.
It replaces space characters in the format mask with the actual space character.
This function uses an
TMaskUtils instance to do the actual work.Errors
None.
See also
- FormatMaskInput
- MaskDoFormatText
- TMaskUtils
- ApplyMaskToText
- GetTextWithoutSpaceChar
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
