Concept Framework 2.2 documentation Contents | Index

standard.lib.str.StrNumberSplit

Name Version Deprecated
StrNumberSplit version 1.0 no

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 ":".

Returns:
Returns an array of numbers.

Documented by Eduard Suica, generation time: Sun Jan 27 18:15:13 2013 GMT(c)2013 Devronium Applications