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>''' -...") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{mirc title|$remtok | + | {{mirc title|$remtok identifier}}'''$remtok''' removes the Nth matching token in text. '''$remtokcs''' is a case sensitive equivalent. |
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]] |
Latest revision as of 09:31, 15 February 2018
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. $remtokcs is a case sensitive equivalent.
Synopsis[edit]
$remtok(<list>,token,N,C)
Parameters[edit]
- <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[edit]
None
Example[edit]
$remtok(one two three, two, 32) returns one three
Compatibility[edit]
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[edit]
- $addtok
- $deltok
- $gettok
- $findtok
- $istok
- $instok
- $matchtok
- $puttok
- $numtok
- $remtokcs
- $reptok
- $sorttok
- $wildtok
mIRC identifier list