WORDS
Counts the number of blank-delimited words in a specified string.
Syntax
WORDS(string)
Arguments
| Argument | Description | Default | 
|---|---|---|
| string | The string in which EngageOne™ Enrichment will count words. | None | 
Results
| Result | Description | 
|---|---|
| Return | The number of blank-delimited words in string. | 
| %%RC | Always set to 0. | 
| %%RM | A null string (''). | 
| %%RV | Always set to 0. | 
Examples
| Function Call | Return | 
|---|---|
| WORDS(' A B C ') | 3 | 
| WORDS('$1,234.55 ') | 1 | 
| WORDS(' This is the result! ') | 4 | 
| WORDS(' ') | 0 |