$gettok » History » Revision 2
Revision 1 (Per Amundsen, 08/10/2015 05:19 AM) → Revision 2/6 (Per Amundsen, 08/10/2015 06:19 AM)
_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>