ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Mask functions
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
MyMask is InputMask = MaskPhoneNumber("FR")
Trace(MaskFormat(MyMask, "+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 InputMask variable to be used to define the format of the character 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: wd290obj.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

Last update: 05/26/2022

Send a report | Local help