WORDLENGTH

 ───WORDLENGTH(string,n)────────

WORDLENGTH returns the length of the n th blank-delimited word in string. n must be a positive whole number. If there are fewer than n words in the string, 0 is returned.

Here are some examples:

WORDLENGTH('Now is the time',2)       ->    2
WORDLENGTH('Now comes the time',2)    ->    5
WORDLENGTH('Now is the time',6)       ->    0


[Back: WORDINDEX]
[Next: WORDPOS]