From WikiChip
Difference between revisions of "mirc/identifiers/$findtokcs"
< mirc‎ | identifiers

(Created page with "{{mirc title|$findtokcs Identifier}}'''$findtokcs''' returns the position of the Nth matching token in text using case sensitivity. == Synopsis == <pre>$findtokcs(<list>,tok...")
 
m
Line 22: Line 22:
  
 
== See Also ==
 
== See Also ==
{{mIRC|$addtokcs}}
+
{{mIRC|$addtok}}
{{mIRC|$remtokcs}}
 
{{mIRC|$gettok}}
 
 
{{mIRC|$deltok}}
 
{{mIRC|$deltok}}
{{mIRC|$matchtok}}
 
{{mIRC|$wildtok}}
 
 
{{mIRC|$findtok}}
 
{{mIRC|$findtok}}
 +
{{mIRC|$gettok}}
 
{{mIRC|$istok}}
 
{{mIRC|$istok}}
 
{{mIRC|$instok}}
 
{{mIRC|$instok}}
 +
{{mIRC|$matchtok}}
 +
{{mIRC|$numtok}}
 
{{mIRC|$puttok}}
 
{{mIRC|$puttok}}
{{mIRC|$numtok}}
+
{{mIRC|$remtok}}
{{mIRC|$reptokcs}}
+
{{mIRC|$sorttok}}
{{mIRC|$sorttokcs}}
+
{{mIRC|$wildtok}}
 
+
* {{mIRC|$sorttokcs}}
  
[[Category:mIRC identifiers|addtok]]
+
[[Category:mIRC identifiers|findtokcs]]

Revision as of 17:36, 22 September 2017

$findtokcs returns the position of the Nth matching token in text using case sensitivity.


Synopsis

$findtokcs(<list>,token,N,C)

Paramters

  • <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

None

Example

$findtokcs(one two three twO, twO, 32) return 4

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 $matchtok $numtok $puttok $remtok $sorttok $wildtok