ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Mask functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 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: wd300obj.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: 03/27/2025

Send a report | Local help