Project

General

Profile

Actions

$findtok » History » Revision 1

Revision 1/3 | Next »
Per Amundsen, 08/08/2015 12:26 PM


Added in 1.9.0

$findtok(text,token,N,C)

Returns the position of the Nth matching token in text.

Parameters

text - The text to search.
token - The token to find.
N - The N'th token to find.
C - The token delimiter.

Example

; Find position where token 'c' starts.
//echo -ag $findtok(a.b.c.d,c,1,46)

Updated by Per Amundsen over 8 years ago · 1 revisions

Also available in: PDF HTML TXT