{{tag>Function Function_List Text}}
====== WORD_NUMBER ======
===== Description =====
Returns an integer constant indicating the number of words in the provided text.
**note**
Cloudscape/Derby database only.
===== Syntax =====
''WORD_NUMBER (text)''
Cannot be used in the condition of a [[:ref:a_f:a:find|FIND]] action.
===== Parameters =====
Attribute of the Plain Text type or string constant or calculation producing text
===== Returns =====
**Number**: the number of words in the text (Cloudscape/Derby database only).
===== Example =====
IF WORD_NUMBER (Account.Name) > 2 THEN ...
===== Related =====
[[ref:a_f:f:af:words_from_left|WORDS_FROM_LEFT]], [[ref:a_f:f:af:words_from_right|WORDS_FROM_RIGHT]], [[ref:a_f:f:af:length|LENGTH]]