Project

General

Profile

$findtokcs » History » Revision 2

Revision 1 (Per Amundsen, 08/10/2015 05:15 AM) → Revision 2/3 (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]] _[[$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":http://www.asciitable.com/ value to tokenize by. 

 *Example* 

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