From WikiChip
Difference between revisions of "mirc/identifiers/$matchtok"
(Created page with "{{mirc title|$matchtok Identifier}}'''$matchtok''' returns the tokens that contain the specified string. == Synopsis == <pre>$matchok(<list>,string,N,C)</pre> == Paramters...") |
m |
||
Line 5: | Line 5: | ||
<pre>$matchok(<list>,string,N,C)</pre> | <pre>$matchok(<list>,string,N,C)</pre> | ||
− | == | + | == Parameters == |
* '''<list>''' - The list of tokens (can be empty) | * '''<list>''' - The list of tokens (can be empty) | ||
Line 24: | Line 24: | ||
{{mIRC compatibility|4.7}} | {{mIRC compatibility|4.7}} | ||
− | == See | + | == See also == |
− | {{mIRC|$ | + | * {{mIRC|$addtok}} |
− | {{mIRC|$ | + | * {{mIRC|$deltok}} |
− | {{mIRC|$ | + | * {{mIRC|$findtok}} |
− | {{mIRC|$ | + | * {{mIRC|$gettok}} |
− | {{mIRC|$ | + | * {{mIRC|$istok}} |
− | {{mIRC|$ | + | * {{mIRC|$instok}} |
− | {{mIRC|$ | + | * {{mIRC|$matchtokcs}} |
− | {{mIRC|$ | + | * {{mIRC|$numtok}} |
− | {{mIRC|$ | + | * {{mIRC|$puttok}} |
− | {{mIRC|$ | + | * {{mIRC|$remtok}} |
− | {{mIRC|$ | + | * {{mIRC|$reptok}} |
− | {{mIRC|$ | + | * {{mIRC|$sorttok}} |
− | {{mIRC|$ | + | * {{mIRC|$wildtok}} |
+ | {{mIRC identifier list}} | ||
− | + | [[Category:mIRC identifiers|matchtok]] | |
− | [[Category:mIRC identifiers| |
Revision as of 17:39, 22 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$matchtok returns the tokens that contain the specified string.
Synopsis
$matchok(<list>,string,N,C)
Parameters
- <list> - The list of tokens (can be empty)
- string - the string used to match token
- N - The Nth matching token, default to 1, if N is 0, returns the total number of matching tokens.
- <C> - The ascii number (or code point) of the character seperating the tokens
Properties
None
Example
$matchtok(one two three, e, 0, 32) returns 2 $matchtok(one two three, e, 2, 32) returns 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
- $findtok
- $gettok
- $istok
- $instok
- $matchtokcs
- $numtok
- $puttok
- $remtok
- $reptok
- $sorttok
- $wildtok
mIRC identifier list