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...") |
(spelling correction to synopsis (matchok --> matchtok)) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{mirc title|$matchtok | + | {{mirc title|$matchtok identifier}}'''$matchtok''' returns the tokens that contain the specified string. '''$matchtokcs''' is the case sensitive version |
== Synopsis == | == Synopsis == | ||
− | <pre>$ | + | <pre>$matchtok(<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| |
Latest revision as of 06:05, 4 July 2024
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. $matchtokcs is the case sensitive version
Synopsis[edit]
$matchtok(<list>,string,N,C)
Parameters[edit]
- <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[edit]
None
Example[edit]
$matchtok(one two three, e, 0, 32) returns 2 $matchtok(one two three, e, 2, 32) returns 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
- $findtok
- $gettok
- $istok
- $instok
- $matchtokcs
- $numtok
- $puttok
- $remtok
- $reptok
- $sorttok
- $wildtok
mIRC identifier list