$findtok » History » Revision 2
Revision 1 (Per Amundsen, 08/08/2015 12:26 PM) → Revision 2/3 (Per Amundsen, 08/10/2015 05:14 AM)
_Added in 1.9.0_ *$findtok(text,token,N,C)* Returns the position of the Nth matching token in text. _[[$findtok]] is case-insensitive, see [[$findtokcs]] for case-sensitive version._ *Parameters* text - The text to tokenize. search. token - The token to find. N - The Nth N'th token to find. C - The "ASCII":http://www.asciitable.com/ value to tokenize by. token delimiter. *Example* <pre> ; Find position where token 'c' starts. //echo -ag $findtok(a.b.c.d,c,1,46) </pre>