Project

General

Profile

Actions

$findtokcs » History » Revision 1

Revision 1/3 | Next »
Per Amundsen, 08/10/2015 05:15 AM


Added in 1.9.0

$findtokcs(text,token,N,C)

Returns the position of the Nth matching token in text.

$findtocsk is case-sensitive, see $findtok for case-insensitive version.

Parameters

text - The text to tokenize.
token - The token to find.
N - The Nth token to find.
C - The ASCII value to tokenize by.

Example

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

Updated by Per Amundsen over 9 years ago · 1 revisions

Also available in: PDF HTML TXT