Functions Reference

Table Of Contents
Text functions
F
ILEMAKER PRO FUNCTIONS REFERENCE 326
WordCount
Purpose
Returns a count of the total number of words in specified text.
Format
WordCount(text)
Parameters
text - any text expression or text field
Data type returned
number
Originated in
FileMaker Pro 6.0 or earlier
Examples
WordCount(“The sun is rising.”) returns 4.
WordCount(Letter) returns the total number of words in the Letter field. If the Letter field
contains the text
x=y=1.5, this example returns 3 because each equal (=) character identifies the
beginning of a new word.
Note In addition to space, tab, enter, and carriage return characters, characters such as equal (=),
ampersand (&), hyphen (-), and so on identify the beginning of a new word. For more information
about word separators, search the FileMaker Knowledge Base available at
http://
help.filemaker.com.