From WikiChip
$deltok Identifier - mIRC
< mirc‎ | identifiers

$deltok deletes the Nth token from text.


Synopsis[edit]

$deltok(list,N-N2,C)

Paramters[edit]

  • <list> - The list of tokens (can be empty)
  • <N-N2> - The Nth to delete, if you pass $null here, the original list is returned, it doesn't return an error. N can be negative, so can N2. -1--2 means from the last token to the second last token.
  • <C> - The ascii number (or code point) of the character seperating the tokens

Properties[edit]

None

Example[edit]

//echo -a $deltok(a b,1,32)

Would display "b"

Compatibility[edit]

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


See Also[edit]

$addtokcs $remtok $gettok $addtok $matchtok $wildtok $findtok $istok $instok $puttok $numtok $reptok $sorttok