Project

General

Profile

Actions

$gettok » History » Revision 1

Revision 1/6 | Next »
Per Amundsen, 08/10/2015 05:19 AM


Added in 1.9.0

$gettok(text,N,C)

Returns the Nth token in text.

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)

Updated by Per Amundsen over 9 years ago · 1 revisions

Also available in: PDF HTML TXT