<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.easyuo.com/openeuo/wiki/index.php?action=history&amp;feed=atom&amp;title=Str.isin</id>
		<title>Str.isin - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.easyuo.com/openeuo/wiki/index.php?action=history&amp;feed=atom&amp;title=Str.isin"/>
		<link rel="alternate" type="text/html" href="http://www.easyuo.com/openeuo/wiki/index.php?title=Str.isin&amp;action=history"/>
		<updated>2026-05-14T01:45:07Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://www.easyuo.com/openeuo/wiki/index.php?title=Str.isin&amp;diff=980&amp;oldid=prev</id>
		<title>Ximan: Created page with &quot;== Calling Pattern == Call  local r,c = sl.str.isin(s1,s2) Args  s1 is a string  s2 is a string Results  r is a boolean  c is a number  == Usage Example ==   local s = sl.str  lo...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.easyuo.com/openeuo/wiki/index.php?title=Str.isin&amp;diff=980&amp;oldid=prev"/>
				<updated>2010-11-11T23:40:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Calling Pattern == Call  local r,c = sl.str.isin(s1,s2) Args  s1 is a string  s2 is a string Results  r is a boolean  c is a number  == Usage Example ==   local s = sl.str  lo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Calling Pattern ==&lt;br /&gt;
Call&lt;br /&gt;
 local r,c = sl.str.isin(s1,s2)&lt;br /&gt;
Args&lt;br /&gt;
 s1 is a string&lt;br /&gt;
 s2 is a string&lt;br /&gt;
Results&lt;br /&gt;
 r is a boolean&lt;br /&gt;
 c is a number&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
 local s = sl.str&lt;br /&gt;
 local i = 'This is a test'&lt;br /&gt;
 local j = 'is'&lt;br /&gt;
 local r,c = s.isin(i,j)&lt;br /&gt;
 print(tostring(r)..' '..c)&lt;br /&gt;
&lt;br /&gt;
 --&amp;gt; true 3&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Determines if string s2 is a substring of string s1 and if so returns its position as well.  See [[Str.cnt|str.cnt]] for a similar function.&lt;br /&gt;
&lt;br /&gt;
== Upon Error ==&lt;br /&gt;
&lt;br /&gt;
Isin fails silently.  If s1 or s2 aren't strings, then nil is returned.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[str|string table]]&lt;br /&gt;
&lt;br /&gt;
* [[Str.cnt|str.cnt]]&lt;br /&gt;
&lt;br /&gt;
* [[select]]&lt;br /&gt;
&lt;br /&gt;
* [[unpack]]&lt;br /&gt;
&lt;br /&gt;
* [http://www.easyuo.com/openeuo/wiki/index.php/Documentation#String_Functions Lua String Functions]&lt;/div&gt;</summary>
		<author><name>Ximan</name></author>	</entry>

	</feed>