Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Counts words.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Text 8.1 Yes Yes Yes Yes Yes
MBS( "Text.CountWords"; Text )   More


Parameter Description Example value
Text The text to count words. "Hello World Hello"


Returns list or error.


Counts words.
We split the text into words and than count for each how often it happens.
The result contains count, tab and the word and is not sorted.


Count words:

MBS( "Text.CountWords"; "Hello World Hello" )

Example result:
1   World
2   Hello

Works with umlauts:

MBS( "Text.CountWords"; "ä ö ü ä ö ö ö ö ß ß" )

Example result:
2   ß
2   ä
5   ö
1   ü

See also

Example Databases

Blog Entries

Created 5th February 2018, last changed 5th February 2018

Text.ConvertUnicodeToCharacterDecomposition   -   Text.DecodeBytesFromBase64

Feedback: Report problem or ask question.

MBS FileMaker Plugins