Project

General

Profile

$remtokcs » History » Revision 3

Revision 2 (Per Amundsen, 08/10/2015 06:11 AM) → Revision 3/4 (Per Amundsen, 07/27/2020 01:12 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 remove. 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' token. 
 //echo -ag $remtokcs(a.b.B.c.d,B,1,46) 

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