Project

General

Profile

$remtokcs » History » Revision 2

Revision 1 (Per Amundsen, 08/10/2015 06:02 AM) → Revision 2/4 (Per Amundsen, 08/10/2015 06:11 AM)

_Added in 1.9.0_ 

 *$remtokcs(text,token,N,C)* 

 Removes the Nth matching token from text. 

 _[[$remtokcs]] is case-sensitive, see [[$remtok]] for case-insensitive version._ 

 *Parameters* 

 text - The text to tokenize. 
 token - Token to add. 
 N - If N = 0, all matching tokens, otherwise the Nth token. 
 C - The "ASCII":http://www.asciitable.com/ value to tokenize by. 

 *Example* 

 <pre> 
 ; Remove the first 'B' 'b' token. 
 //echo -ag $remtokcs(a.b.B.c.d,B,1,46) $remtok(a.b.c.d,b,1,46) 

 ; Remove all 'B' 'b' tokens. 
 //echo -ag $remtokcs(a.b.B.B,b,0,46) $remtok(a.b.b.b,b,0,46) 
 </pre>