From WikiChip
Difference between revisions of "mirc/identifiers/$remtok"
(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>''' -...") |
m |
||
Line 1: | Line 1: | ||
− | {{mirc title|$remtok | + | {{mirc title|$remtok identifier}}'''$remtok''' removes the Nth matching token in text. |
Line 5: | Line 5: | ||
<pre>$remtok(<list>,token,N,C)</pre> | <pre>$remtok(<list>,token,N,C)</pre> | ||
− | == | + | == Parameters == |
− | |||
* '''<list>''' - The list of tokens (can be empty) | * '''<list>''' - The list of tokens (can be empty) | ||
* '''token''' - the token used to match | * '''token''' - the token used to match | ||
Line 21: | Line 20: | ||
{{mIRC compatibility|4.7}} | {{mIRC compatibility|4.7}} | ||
− | == See | + | == See also == |
− | {{mIRC|$ | + | * {{mIRC|$addtok}} |
− | {{mIRC|$ | + | * {{mIRC|$deltok}} |
− | {{mIRC|$gettok}} | + | * {{mIRC|$gettok}} |
− | {{mIRC|$ | + | * {{mIRC|$findtok}} |
− | {{mIRC|$ | + | * {{mIRC|$istok}} |
− | {{mIRC|$ | + | * {{mIRC|$instok}} |
− | {{mIRC|$ | + | * {{mIRC|$matchtok}} |
− | {{mIRC|$ | + | * {{mIRC|$puttok}} |
− | {{mIRC|$ | + | * {{mIRC|$numtok}} |
− | {{mIRC|$ | + | * {{mIRC|$remtokcs}} |
− | {{mIRC|$ | + | * {{mIRC|$reptok}} |
− | {{mIRC|$ | + | * {{mIRC|$sorttok}} |
− | {{mIRC|$ | + | * {{mIRC|$wildtok}} |
− | + | {{mIRC identifier list}} | |
− | [[Category:mIRC identifiers| | + | [[Category:mIRC identifiers|remtok]] |
Revision as of 17:49, 22 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$remtok removes the Nth matching token in text.
Synopsis
$remtok(<list>,token,N,C)
Parameters
- <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
- $addtok
- $deltok
- $gettok
- $findtok
- $istok
- $instok
- $matchtok
- $puttok
- $numtok
- $remtokcs
- $reptok
- $sorttok
- $wildtok
mIRC identifier list