$gettok » History » Revision 4
Revision 3 (Mr. BS, 01/29/2016 01:11 AM) → Revision 4/6 (Mr. BS, 02/17/2017 10:33 PM)
_Added in 1.9.0_
*$gettok(text,N,C)*
Returns the Nth token in text.
_Same as [[$token]]._
*Parameters*
text - The text to tokenize.
N - The Nth token to get.
C - The "ASCII":http://www.asciitable.com/ value to tokenize by.
*Example*
<pre>
; Print the 3rd token in 'a.b.c.d.e'
//echo -ag $gettok(a.b.c.d.e,3,46)
</pre>
_See also [[$addtok]], [[$deltok]], [[$findtok]], [[$instok]], [[$istok]], [[$matchtok]], [[$numtok]], [[$puttok]], [[$remtok]], [[$reptok]], [[$sorttok]], [[$wildtok]]._