PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
<String type>.CharactTypeCount (Function)
In french: <Type Chaîne>.CaractOccurrenceType
Returns the number of characters matching a given type.
Versions 18 and later
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
New in version 18
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Versions 25 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 25
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
Example
NbChar is int
MyString is string = "AbcdeF"
NbChar = MyString.CharactTypeCount(ctUppercase)
// NbChar = 2
Syntax
<Result> = <String>.CharactTypeCount(<Type>)
<Result>: Integer
Number of characters in the string that correspond to the given type.
<String>: Character string
Character string to use.
<Type>: Integer constant (or combination of constants)
Type of characters to find:
ctAccentAccented or diacritical character.
ctSpaceSpace.
ctAlphaLetter.
ctUppercaseUppercase character.
ctLowercaseLowercase character.
ctNumericNumeric character.
ctPunctuationPunctuation character.

Remarks:
  • The combination of ctUppercase + ctAccent is used to find accented uppercase characters.
  • The combination of ctLowercase + ctAccent is used to find accented lowercase characters.
Business / UI classification: Neutral code
Component: wd260vm.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment