standard.lib.str.StrSplit

StrSplit is available since version 1.0.

Prototype:

array of strings StrSplit(string str, string separator[, bool put_empty strings=false]);

Description:

Splits a string into other strings. The str parameter is split after the separator parameter. For example: StrSplit("ab:cd:ef",":") will return an array containing [ "ad", "cd", "ef" ]. The put empyy strings parameter deals with situations like this "ab:cd::ef::::::". When true, will return empty elements in the array containing null strings between two ":".

Return value:

Returns an array containg strings.