From WikiChip
Difference between revisions of "mirc/identifiers/$wildtokcs"
(Created page with "{{mirc title|$wildtokcs Identifier}}'''$wildtokcs''' returns the Nth token that matches the wildcard string, using case sensitivity. == Synopsis == <pre>$wildtokcs(<list>,wi...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{mirc title|$wildtokcs | + | {{mirc title|$wildtokcs identifier}}'''$wildtokcs''' returns the Nth token that matches the {{mirc|wildcard}} string, using case sensitivity. |
Line 5: | Line 5: | ||
<pre>$wildtokcs(<list>,wildstring,N,C)</pre> | <pre>$wildtokcs(<list>,wildstring,N,C)</pre> | ||
− | == | + | == Parameters == |
* '''<list>''' - The list of tokens (can be empty) | * '''<list>''' - The list of tokens (can be empty) | ||
− | * '''wildstring''' - a wildcard string token used to match | + | * '''wildstring''' - a {{mirc|wildcard}} string token used to match |
* '''N''' - The Nth matching token, default to 1, if N is 0, returns the total number of matching tokens. | * '''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 | * '''<C>''' - The ascii number (or code point) of the character seperating the tokens | ||
Line 21: | Line 21: | ||
{{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|$instok}} |
− | {{mIRC|$ | + | * {{mIRC|$istok}} |
− | {{mIRC|$ | + | * {{mIRC|$matchtok}} |
− | {{mIRC|$ | + | * {{mIRC|$numtok}} |
− | {{mIRC|$ | + | * {{mIRC|$puttok}} |
− | {{mIRC|$ | + | * {{mIRC|$remtok}} |
− | {{mIRC|$ | + | * {{mIRC|$reptok}} |
− | {{mIRC|$ | + | * {{mIRC|$sorttok}} |
− | {{mIRC|$ | + | * {{mIRC|$wildtok}} |
+ | {{mIRC identifier list}} | ||
− | + | [[Category:mIRC identifiers|wildtokcs]] | |
− | [[Category:mIRC identifiers| |
Latest revision as of 15:18, 20 October 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$wildtokcs returns the Nth token that matches the wildcard string, using case sensitivity.
Synopsis[edit]
$wildtokcs(<list>,wildstring,N,C)
Parameters[edit]
- <list> - The list of tokens (can be empty)
- wildstring - a wildcard string token used to match
- 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]
$wildtokcs(one two three twO, t*O,1,32) return twO
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
- $instok
- $istok
- $matchtok
- $numtok
- $puttok
- $remtok
- $reptok
- $sorttok
- $wildtok
mIRC identifier list