Actions
$remtok » History » Revision 3
« Previous |
Revision 3/4
(diff)
| Next »
Per Amundsen, 07/27/2020 01:11 AM
Added in 1.9.0
$remtok(text,token,N,C)
Removes the Nth matching token from text.
$remtok is case-insensitive, see $remtokcs for case-sensitive version.
Parameters
text - The text to tokenize.
token - Token to remove.
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 4 years ago · 3 revisions