Project

General

Profile

Actions

$findtokcs » History » Revision 2

« Previous | Revision 2/3 (diff) | 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.

$findtokcs 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 · 2 revisions

Also available in: PDF HTML TXT