wordcount(
TEXT
)

The wordcount( function returns the number of words in the text.


Parameters

This function has one parameter:

text – text with words to count.


Description

This function counts the number of words in the text.

wordcount("now is the time") ☞ 4
wordcount("or is this the time, or now?") ☞ 7

Note: This function is equivalent to:

extract(arraystrip(replacemultiple(thetext,cr()+":"+tab()+":"+chr(10)," : : ",":")," ")," ",-1)

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.