Project

General

Profile

Actions

$gettok » History » Revision 3

« Previous | Revision 3/6 (diff) | Next »
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 value to tokenize by.

Example

; Print the 3rd token in 'a.b.c.d.e'
//echo -ag $gettok(a.b.c.d.e,3,46)

See also $addtok, $deltok, $findtok, $instok, $istok, $matchtok, $numtok, $puttok, $remtok, $reptok, $sorttok, $wildtok.

Updated by Mr. BS almost 9 years ago · 3 revisions

Also available in: PDF HTML TXT