Table of Contents

, ,

WORD_NUMBER

Description

Returns an integer constant indicating the number of words in the provided text.

Syntax

WORD_NUMBER (text)

Cannot be used in the condition of a 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 ... 

WORDS_FROM_LEFT, WORDS_FROM_RIGHT, LENGTH