PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Formats a character string using an InputMask variable. The character string is formatted as it would be displayed in an Edit control that uses this mask.
Example
MonMasque is InputMask = MaskPhoneNumber("FR")
Trace(MaskFormat(MonMasque, "+33467032032"))
Syntax
<Result> = MaskFormat(<Mask to apply> , <String>)
<Result>: Character string
  • String formatted according to the specified mask.
  • Empty string ("") if an error occurred.
<Mask to apply>: InputMask variable
Name of the Variable of type InputMask to be used to format the string.
<String>: Character string
Character string to format. if this parameter is invalid, <Result> corresponds to an empty string ("").
Business / UI classification: Neutral code
Component: wd270obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Exemplo
https://repository.windev.com/resource.awp?file_id=281474976711152;valida-cpf-cnpj-telefone-com-mascara-validacao-com-expressao-regular
Boller
12 Jul. 2021