Actions
$remtokcs » History » Revision 1
Revision 1/4
| Next »
Per Amundsen, 08/10/2015 06:02 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 value to tokenize by.
Example
; Remove the first 'b' token. //echo -ag $remtok(a.b.c.d,b,1,46) ; Remove all 'b' tokens. //echo -ag $remtok(a.b.b.b,b,0,46)
Updated by Per Amundsen over 9 years ago · 1 revisions