Revision Difference
string.Split#560214
<function name="Split" parent="string" type="libraryfunc">
	<description>Splits the string into a table of strings, separated by the second argument.
This is an alias of <page>string.Explode</page>.</description>
This is an alias of <page>string.Explode</page>, but with flipped arguments.</description>
	<realm>Shared and Menu</realm>
	<file line="106-L108">lua/includes/extensions/string.lua</file>
	<args>
		<arg name="Inputstring" type="string">String to split</arg>
		<arg name="Separator" type="string">Character(s) to split with.</arg>
	</args>
	<rets>
		<ret name="" type="table">Split table</ret>
	</rets>
</function>
<example>
	<description>Demonstrates the use of this function.</description>
	<code>
local mystring = "This is some text"
PrintTable( string.Split( mystring, " " ) )
	</code>
	<output>
```
1 = This
2 = is
3 = some
4 = text
```
	</output>
</example>
 Garry's Mod
			Garry's Mod 
		 Rust
			Rust 
		 Steamworks
			Steamworks 
		 Wiki Help
			Wiki Help