<?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.ins</id>
		<title>Str.ins - 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.ins"/>
		<link rel="alternate" type="text/html" href="http://www.easyuo.com/openeuo/wiki/index.php?title=Str.ins&amp;action=history"/>
		<updated>2026-05-14T01:45:08Z</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.ins&amp;diff=981&amp;oldid=prev</id>
		<title>Ximan: Created page with &quot;== Calling Pattern == Call  local s3 = sl.str.ins(s1,s2,n) Args  s1,s2 are strings  n is a number Results  s3 is a string  == Usage Example ==   local s = sl.str  local r = s.del...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.easyuo.com/openeuo/wiki/index.php?title=Str.ins&amp;diff=981&amp;oldid=prev"/>
				<updated>2010-11-11T23:45:59Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Calling Pattern == Call  local s3 = sl.str.ins(s1,s2,n) Args  s1,s2 are strings  n is a number Results  s3 is a string  == Usage Example ==   local s = sl.str  local r = s.del...&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 s3 = sl.str.ins(s1,s2,n)&lt;br /&gt;
Args&lt;br /&gt;
 s1,s2 are strings&lt;br /&gt;
 n is a number&lt;br /&gt;
Results&lt;br /&gt;
 s3 is a string&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
 local s = sl.str&lt;br /&gt;
 local r = s.del('One really long string.','really ',12)&lt;br /&gt;
 print(r)&lt;br /&gt;
&lt;br /&gt;
 --&amp;gt; One really really long string.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Inserts string s2 into target string s1 at position n and returns the altered string. s2 is inserted before character n (0 &amp;lt; n &amp;lt;= #s1 + 1).&lt;br /&gt;
&lt;br /&gt;
== Upon Error ==&lt;br /&gt;
&lt;br /&gt;
Ins fails silently.  If ins receives incorrect parameter types, then &amp;amp;#39;&amp;amp;#39; (an empty string) 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.join]]&lt;br /&gt;
&lt;br /&gt;
* [[str.sep]]&lt;br /&gt;
&lt;br /&gt;
* [[str.split]]&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>