From WikiChip
Difference between revisions of "mirc/identifiers/$remtok"
< mirc‎ | identifiers

(Created page with "{{mirc title|$remtok Identifier}}'''$remtok''' removes the Nth matching token in text. == Synopsis == <pre>$remtok(<list>,token,N,C)</pre> == Paramters == * '''<list>''' -...")
(No difference)

Revision as of 18:06, 21 September 2017

$remtok removes the Nth matching token in text.


Synopsis

$remtok(<list>,token,N,C)

Paramters

  • <list> - The list of tokens (can be empty)
  • token - the token used to match
  • N - The Nth matching token, default to 1, if N is 0, applies to all matching tokens.
  • <C> - The ascii number (or code point) of the character seperating the tokens

Properties

None

Example

$remtok(one two three, two, 32) returns one three

Compatibility

Added: mIRC v4.7
Added on: 09 Dec 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

$addtokcs $remtokcs $gettok $deltok $matchtok $wildtok $findtok $istok $instok $puttok $numtok $reptokcs $sorttokcs