<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=%24findtok</id>
	<title>$findtok - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=%24findtok"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$findtok&amp;action=history"/>
	<updated>2026-06-04T02:05:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=$findtok&amp;diff=4270&amp;oldid=prev</id>
		<title>Doomie at 16:46, 16 October 2005</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$findtok&amp;diff=4270&amp;oldid=prev"/>
		<updated>2005-10-16T16:46:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Returns the position of the Nth matching token in text.&lt;br /&gt;
 $findtok(text,token,N,C)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039; that if you specify zero for N, it returns the total number of matching tokens and that it returns [[$null]] if it wasn&amp;#039;t able to find a token.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
 [[echo]] -ag $findtok(This is a test,a,1,32)&lt;br /&gt;
This example would return &amp;#039;&amp;#039;3&amp;#039;&amp;#039;, as &amp;#039;&amp;#039;a&amp;#039;&amp;#039; is the third word in the text.&lt;br /&gt;
 echo -ag $findtok(a.b.b.c.b,b,0,46)&lt;br /&gt;
This example would return &amp;#039;&amp;#039;3&amp;#039;&amp;#039;, as there are 3 &amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;s in the text, seperated by dots.&lt;br /&gt;
&lt;br /&gt;
[[Category:Token Identifiers]]&lt;/div&gt;</summary>
		<author><name>Doomie</name></author>
	</entry>
</feed>