<?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.split</id>
		<title>Str.split - 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.split"/>
		<link rel="alternate" type="text/html" href="http://www.easyuo.com/openeuo/wiki/index.php?title=Str.split&amp;action=history"/>
		<updated>2026-04-05T19:03:45Z</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.split&amp;diff=994&amp;oldid=prev</id>
		<title>Ximan: Created page with &quot;== Calling Pattern == Call  local r = sl.str.split(source,n[,...]) Args  source is a string  n1...nN are numbers Results  r is a table of strings  == Usage Example ==   local s =...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.easyuo.com/openeuo/wiki/index.php?title=Str.split&amp;diff=994&amp;oldid=prev"/>
				<updated>2010-11-12T02:25:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Calling Pattern == Call  local r = sl.str.split(source,n[,...]) Args  source is a string  n1...nN are numbers Results  r is a table of strings  == Usage Example ==   local s =...&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 = sl.str.split(source,n[,...])&lt;br /&gt;
Args&lt;br /&gt;
 source is a string&lt;br /&gt;
 n1...nN are numbers&lt;br /&gt;
Results&lt;br /&gt;
 r is a table of strings&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
 local s = sl.str&lt;br /&gt;
 local r = s.split('One really long string.',2,7,11)&lt;br /&gt;
 print(sl.keyvalstr(r))&lt;br /&gt;
&lt;br /&gt;
 --&amp;gt; O&lt;br /&gt;
 --&amp;gt; ne re&lt;br /&gt;
 --&amp;gt; ally&lt;br /&gt;
 --&amp;gt;  long string.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Split separates the source string into parts and returns them in a table. Each number n passed is treated as a position at which to split the string.&lt;br /&gt;
&lt;br /&gt;
== Upon Error ==&lt;br /&gt;
&lt;br /&gt;
Split fails silently.  If split receives inappropriate arguments then a table with a single empty string is returned.  If a non-number is passed as one of the position arguments, then an empty string is inserted in the resulting table for that position.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[str|string table]]&lt;br /&gt;
&lt;br /&gt;
* [[str.joinsep]]&lt;br /&gt;
&lt;br /&gt;
* [[str.mid]]&lt;br /&gt;
&lt;br /&gt;
* [[str.sep]]&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>