Project

General

Profile

$gettok » History » Revision 3

Revision 2 (Per Amundsen, 08/10/2015 06:19 AM) → Revision 3/6 (Mr. BS, 01/29/2016 01:11 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> 

 _See also [[$addtok]], [[$deltok]], [[$findtok]], [[$instok]], [[$istok]], [[$matchtok]], [[$numtok]], [[$puttok]], [[$remtok]], [[$reptok]], [[$sorttok]], [[$wildtok]]._