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

(Created page with "{{mirc title|$remtok Identifier}}'''$remtok''' removes the Nth matching token in text. == Synopsis == <pre>$remtok(<list>,token,N,C)</pre> == Paramters == * '''<list>''' -...")
 
Line 1: Line 1:
{{mirc title|$remtok Identifier}}'''$remtok''' removes the Nth matching token in text.
+
{{mirc title|$remtokcs Identifier}}'''$remtokcs''' removes the Nth matching token in text using case sensitivity.
  
  
 
== Synopsis ==
 
== Synopsis ==
<pre>$remtok(<list>,token,N,C)</pre>
+
<pre>$remtokcs(<list>,token,N,C)</pre>
  
 
== Paramters ==
 
== Paramters ==
Line 16: Line 16:
  
 
== Example ==
 
== Example ==
<source lang="mIRC">$remtok(one two three, two, 32) returns one three</source>
+
<source lang="mIRC">$remtokcs(one two three twO, twO, 32) returns one two three</source>
  
 
== Compatibility ==
 
== Compatibility ==
Line 23: Line 23:
 
== See Also ==
 
== See Also ==
 
{{mIRC|$addtokcs}}
 
{{mIRC|$addtokcs}}
{{mIRC|$remtokcs}}
+
{{mIRC|$remtok}}
 
{{mIRC|$gettok}}
 
{{mIRC|$gettok}}
 
{{mIRC|$deltok}}
 
{{mIRC|$deltok}}

Revision as of 17:06, 21 September 2017

$remtokcs removes the Nth matching token in text using case sensitivity.


Synopsis

$remtokcs(<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, applies to all matching tokens.
  • <C> - The ascii number (or code point) of the character seperating the tokens

Properties

None

Example

$remtokcs(one two three twO, twO, 32) returns one two 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

$addtokcs $remtok $gettok $deltok $matchtok $wildtok $findtok $istok $instok $puttok $numtok $reptokcs $sorttokcs