Concept Framework 2.0 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: Fri Jan 21 18:06:18 2011 GMT(c)2011 RadGs Software