Difference between revisions of "NXSL:SplitString"
Jump to navigation
Jump to search
(Created page with "__NOTOC__ Split string into array of strings at given separator. '''Since:''' 2.0.3 == Syntax == SplitString(''string'', ''separator''); == Parameters == :{| |- | ''str...") |
|||
Line 12: | Line 12: | ||
== Parameters == | == Parameters == | ||
:{| | :{| class="wikitable" | ||
|- | |- | ||
| ''string'' || String to split. | | ''string'' || String to split. |
Revision as of 13:22, 22 November 2017
Split string into array of strings at given separator.
Since: 2.0.3
Syntax
SplitString(string, separator);
Parameters
string String to split. separator Separator character. If supplied string is longer than 1 character, it's first character will be used as separator.
Return Value
Array of strings.
Examples
format("a;b;c;d", ";") -> %("a", "b", "c", "d") format("abcd", ";") -> %("abcd")