<?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.sep</id>
		<title>Str.sep - 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.sep"/>
		<link rel="alternate" type="text/html" href="http://www.easyuo.com/openeuo/wiki/index.php?title=Str.sep&amp;action=history"/>
		<updated>2026-05-01T01:39:43Z</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.sep&amp;diff=993&amp;oldid=prev</id>
		<title>Ximan: Created page with &quot;== Calling Pattern == Call  local r[,...] = sl.str.sep(delim,source[,inline]) Args  delim is a string  source is a string  inline (optional) is not nil Results  r is a table of s...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.easyuo.com/openeuo/wiki/index.php?title=Str.sep&amp;diff=993&amp;oldid=prev"/>
				<updated>2010-11-12T02:08:32Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Calling Pattern == Call  local r[,...] = sl.str.sep(delim,source[,inline]) Args  delim is a string  source is a string  inline (optional) is not nil Results  r is a table of 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.sep(delim,source[,inline])&lt;br /&gt;
Args&lt;br /&gt;
 delim is a string&lt;br /&gt;
 source is a string&lt;br /&gt;
 inline (optional) is not nil&lt;br /&gt;
Results&lt;br /&gt;
 r is a table of strings&lt;br /&gt;
 or &lt;br /&gt;
 r1...rN are strings&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
 local s = sl.str&lt;br /&gt;
 local r1,r2,r3 = s.sep(' ','One really long string.',true)&lt;br /&gt;
 print(r1)&lt;br /&gt;
 print(r2)&lt;br /&gt;
 print(r3)&lt;br /&gt;
&lt;br /&gt;
 --&amp;gt; One&lt;br /&gt;
 --&amp;gt; really&lt;br /&gt;
 --&amp;gt; long&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Sep splits the source string into parts based upon a delimiter string, delim. The delimiters are removed from the results.  The resultant strings are returned as a table.  If the inline argument is provided and has a value other than nil, the results will be returned as a [[tuple]].&lt;br /&gt;
&lt;br /&gt;
== Upon Error ==&lt;br /&gt;
&lt;br /&gt;
Sep fails silently.  If sep receives inappropriate arguments then a table with a single empty string is returned (or a single empty string, if inline was specified).&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.split]]&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>