get number of tokens(a, b, c)


Returns the number of tokens in text a using delimiter b. If a character is specified in parameter c, it will be interpreted as the escape character.

Description of Parameters

Parameter

Description

a

Text.

b

Delimiter (use \NL to specify a newline).

c

(optional) The character escaping a delimiter.

Examples

Parameter a

Parameter b

Parameter c

Result

a,b,c,d

,

4

a\,b,c,d

;

1

a\,b,c,d

,

\

3

a\\,b,c,d

,

\

4