Arminas: Mon Aug 16, 2010 1:40 pm As of one of the later betas, 3.XX this syntax is currently working in 3.22a. |
|
The new syntax for %numwords allows for counting multiple delimiters as one.
%numwords("Expanded string","Delimiter character", "1 for count multiple delimiters as one or 0 to count each delimiter, which is the default.")
Examples
Code: |
#show {%numwords("There are five words here."," ",1)}
|
Output: 5
Code: |
#show {%numwords("There are five words here."," ",0)}
|
Output: 6 |
|