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
Warning
From version 24 (75), WordOccurrence is kept for backward compatibility. This function is replaced by WordCount.
Returns the number of words in a string.
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
// The function returns 3
ResCount = WordCount("Example of use")
Syntax
<Result> = WordCount(<String>)
<Result>: Integer
Number of words in the string to analyze.
<String>: Character string (with quotes)
Character string to use.
Remarks
All characters other than numerical or alphabetical are considered as word separators.
Business / UI classification: Neutral code
Component: wd260vm.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment