Project

General

Profile

$gettok » History » Version 1

Per Amundsen, 08/10/2015 05: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
*Parameters*
8
9
text - The text to tokenize.
10
N - The Nth token to get.
11
C - The "ASCII":http://www.asciitable.com/ value to tokenize by.
12
13
*Example*
14
15
<pre>
16
; Print the 3rd token in 'a.b.c.d.e'
17
//echo -ag $gettok(a.b.c.d.e,3,46)
18
</pre>