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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Versions 26 and later
Linux This function is now available for WINDEV applications in Linux.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 26
Linux This function is now available for WINDEV applications in Linux.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Linux This function is now available for WINDEV applications in Linux.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
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 Variable of type InputMask to be used to format the string.
<String>: Character string (with quotes)
Character string to format. if this parameter is invalid, <Result> corresponds to an empty string ("").
Business / UI classification: Neutral code
Component: wd260obj.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