Project

General

Profile

$gettok » History » Version 2

Per Amundsen, 08/10/2015 06:19 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$gettok(text,N,C)*
4
5
Returns the Nth token in text.
6
7 2 Per Amundsen
_Same as [[$token]]._
8
9 1 Per Amundsen
*Parameters*
10
11
text - The text to tokenize.
12
N - The Nth token to get.
13
C - The "ASCII":http://www.asciitable.com/ value to tokenize by.
14
15
*Example*
16
17
<pre>
18
; Print the 3rd token in 'a.b.c.d.e'
19
//echo -ag $gettok(a.b.c.d.e,3,46)
20
</pre>