From WikiChip
Difference between revisions of "mirc/identifiers/$findtokcs"
m |
m (→Paramters) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{mirc title|$findtokcs | + | {{mirc title|$findtokcs identifier}}'''$findtokcs''' returns the position of the Nth matching token in text using case sensitivity. |
Line 5: | Line 5: | ||
<pre>$findtokcs(<list>,token,N,C)</pre> | <pre>$findtokcs(<list>,token,N,C)</pre> | ||
− | == | + | == Parameters == |
* '''<list>''' - The list of tokens (can be empty) | * '''<list>''' - The list of tokens (can be empty) | ||
Line 22: | Line 22: | ||
== See Also == | == See Also == | ||
− | {{mIRC|$addtok}} | + | * {{mIRC|$addtok}} |
− | {{mIRC|$deltok}} | + | * {{mIRC|$deltok}} |
− | {{mIRC|$findtok}} | + | * {{mIRC|$findtok}} |
− | {{mIRC|$gettok}} | + | * {{mIRC|$gettok}} |
− | {{mIRC|$ | + | * {{mIRC|$instok}} |
− | {{mIRC|$ | + | * {{mIRC|$istok}} |
− | {{mIRC|$matchtok}} | + | * {{mIRC|$matchtok}} |
− | {{mIRC|$numtok}} | + | * {{mIRC|$numtok}} |
− | {{mIRC|$puttok}} | + | * {{mIRC|$puttok}} |
− | {{mIRC|$remtok}} | + | * {{mIRC|$remtok}} |
− | {{mIRC|$ | + | * {{mIRC|$reptok}} |
− | {{mIRC|$ | + | * {{mIRC|$sorttok}} |
− | * {{mIRC|$ | + | * {{mIRC|$wildtok}} |
+ | {{mIRC identifier list}} | ||
[[Category:mIRC identifiers|findtokcs]] | [[Category:mIRC identifiers|findtokcs]] |
Latest revision as of 17:45, 22 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$findtokcs returns the position of the Nth matching token in text using case sensitivity.
Synopsis[edit]
$findtokcs(<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, 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]
$findtokcs(one two three twO, twO, 32) return 4
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