EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

ustr.split

Splitting a unicode string. The method splits a string into substrings taking into account the specified separator.

method arrustr ustr.split (
   arrustr ret,
   ushort symbol,
   uint flag
)

Parameters

ret The result array of unicode strings.
symbol Separator.
flag Flags.
$SPLIT_EMPTYTake into account empty substrings.
$SPLIT_NOSYSDelete characters <= space on the left and on the right.
$SPLIT_FIRSTSplit till the first separator.
$SPLIT_QUOTETake into account that elements can be enclosed by single or double quotation marks.
$SPLIT_APPENDAdding strings. Otherwise, the array is cleared before loading.

Return value

The result array of strings.


The method splits a unicode string into the new result array of unicode strings.

method arrustr ustr.split <result>  (
   uint symbol,
   uint flag
)

Parameters

symbol Separator.
flag Flags.
$SPLIT_EMPTYTake into account empty substrings.
$SPLIT_NOSYSDelete characters <= space on the left and on the right.
$SPLIT_FIRSTSplit till the first separator.
$SPLIT_QUOTETake into account that elements can be enclosed by single or double quotation marks.
$SPLIT_APPENDAdding strings. Otherwise, the array is cleared before loading.

Return value

The new result array of unicode strings.

Related links

Source