EnglishРусский  

Ads

Perfect Automation tool
All-In-One: Script editor, Launcher, Scheduler, Keyboard & Mouse Recorder. Try now!

CreateInstall
Freeware and commercial installers.

Cell Phone Batteries
Batteries Plus offers batteries for laptop, camcorder, cell phone, camera.

Gentee needs your help!
How to advertise with us
 
laptop battery

str.split

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

method arrstr str.split (
   arrstr ret,
   uint symbol,
   uint flag
)

Parameters

ret The result array of 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.

Return value

The result array of strings.


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

method arrstr str.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.

Return value

The new result array of strings.


str.split

The method looks for the first symbol and splits a string into two parts.

method uint str.split (
   uint symbol,
   str left,
   str right
)

Parameters

symbol Separator.
left The substring left on the symbol.
right The substring right on the symbol.

Return value

Returns 1 if the separator has been found. Otherwise, return 0.

Related links

Source

Edit