$numtok » History » Version 1
Per Amundsen, 08/10/2015 05:48 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$numtok(text,C)* |
||
4 | |||
5 | Returns number of tokens in text. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | text - The text to tokenize. |
||
10 | C - The "ASCII":http://www.asciitable.com/ value to tokenize by. |
||
11 | |||
12 | *Example* |
||
13 | |||
14 | <pre> |
||
15 | ; Print number of tokens in text |
||
16 | //echo -ag $numtok(a.b.c.d.e, 46) |
||
17 | </pre> |