Concept Framework 2.0 documentation Contents | Index

standard.lib.str.StrSplit

Name Version Deprecated
StrSplit version 1.0 no

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

Returns:
Returns an array containg strings.

Documented by Eduard Suica, generation time: Fri Jan 21 18:06:18 2011 GMT(c)2011 RadGs Software