PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Returns information about the type of character.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Versions 19 and later
Windows Mobile This function is now available for the Windows Mobile applications.
New in version 19
Windows Mobile This function is now available for the Windows Mobile applications.
Windows Mobile This function is now available for the Windows Mobile applications.
Versions 20 and later
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
New in version 20
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
CharactType("A") // the function returns ctAlpha|ctUppercase

CharactType("é") // the function returns ctAlpha|ctLowercase|ctAccent

// Checks whether a character is a letter
IF BinaryAND(CharactType("c"), ctAlpha) <> 0 THEN
Trace("This character is a letter")
END
Syntax
<Result> = CharactType(<Character>)
<Result>: Integer constant (or combination of constants)
Type of studied character:
ctAccentAccented or diacritical character.
The ctAccent constant is always combined with the ctAlpha constant.
ctSpaceSpace.
ctAlphaLetter.
ctUppercaseUppercase character.
The ctUppercase constant is always combined with the ctAlpha constant.
ctLowercaseLowercase character.
The ctLowercase constant is always combined with the ctAlpha constant.
ctNumericNumeric character.
ctPunctuationPunctuation character.
<Character>: Character string (with quotes)
Character to use.
Remarks
  • The character 0 returns 0.
  • Some constants can be combined (ctAccent, ctAlpha, ctUppercase and ctLowercase): an information can be checked via BinaryAND or via the "&" operator.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment