<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.oxeyegames.com/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Find</id>
		<title>Find - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Find"/>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=Find&amp;action=history"/>
		<updated>2026-05-11T04:30:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://www.oxeyegames.com/wiki/index.php?title=Find&amp;diff=115&amp;oldid=prev</id>
		<title>Jeb: Created page with '{{GUIMethod | WChar:find(value[, startPosition]) | Looks for the first occurrence of 'value' in the string object. | {{MethodParam|value|A WChar|The string value to look for, cas...'</title>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=Find&amp;diff=115&amp;oldid=prev"/>
				<updated>2009-03-08T22:49:50Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#39;{{GUIMethod | WChar:find(value[, startPosition]) | Looks for the first occurrence of &amp;#39;value&amp;#39; in the string object. | {{MethodParam|value|A WChar|The string value to look for, cas...&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{GUIMethod&lt;br /&gt;
|&lt;br /&gt;
WChar:find(value[, startPosition])&lt;br /&gt;
|&lt;br /&gt;
Looks for the first occurrence of 'value' in the string object.&lt;br /&gt;
|&lt;br /&gt;
{{MethodParam|value|A WChar|The string value to look for, case sensitive.}}&lt;br /&gt;
{{MethodParam|startPosition|''Optional'' integer|Character position to start the search at. Defaults to 1 (beginning of the string) if omitted.}}&lt;br /&gt;
|&lt;br /&gt;
If the value can't be found in the string object, the method will return nil. Otherwise, it will return two integer values that tell the first position in the string where the match was found, and the last position of the match.&lt;br /&gt;
}}&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   local text = WChar(&amp;quot;abcde&amp;quot;)&lt;br /&gt;
   text:find(WChar(&amp;quot;a&amp;quot;))    -- returns 1,1&lt;br /&gt;
   text:find(WChar(&amp;quot;ab&amp;quot;))   -- returns 1,2&lt;br /&gt;
   text:find(WChar(&amp;quot;de&amp;quot;))   -- returns 4,5&lt;br /&gt;
   text:find(WChar(&amp;quot;a&amp;quot;), 2) -- returns nil,nil&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jeb</name></author>	</entry>

	</feed>