Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Text.CountWords
Counts words.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Text | 8.1 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| Text | The text to count words. | "Hello World Hello" |
Result
Returns list or error.
Description
Counts words.We split the text into words and then count for each how often it happens.
The result contains count, tab and the word and is not sorted.
Examples
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
Release notes
- Version 8.1
- Added Text.ListWords, List.CountValues and Text.CountWords functions.
Created 5th February 2018, last changed 9th February 2020
Text.ConvertUnicodeToCharacterDecomposition - Text.DecodeBytesFromBase64
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins