Project

General

Profile

$numtok » History » Version 2

Per Amundsen, 02/23/2023 06:37 PM

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 2 Per Amundsen
table(ktable).
10
|*Parameter*|*Description*|
11
| text | The text to tokenize. |
12
| C | The "ASCII":http://www.asciitable.com/ value to tokenize by. |
13 1 Per Amundsen
14
*Example*
15
16
<pre>
17
; Print number of tokens in text
18
//echo -ag $numtok(a.b.c.d.e, 46)
19
</pre>