standard.lib.str.StrNumberSplit

StrNumberSplit is available since version 1.0.

Prototype:

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

Description:

Splits a string into other strings and converts those to number. The str parameter is split after the separator parameter. For example: StrSplit("11:22:33",":") will return an array containing [ 11, 22, 33 ]. The put empyy strings parameter deals with situations like this "11:22:22::::::". When true, will return empty elements in the array containing zeros between two ":".

Return value:

Returns an array of numbers.