EnglishРусский  
 Share/Save/Bookmark
 

arrstr.load

Add lines to the array from multi-line string.

method arrstr arrstr.load (
   str input,
   uint flag
)

Parameters

input The input string.
flag Flags.
$ASTR_APPENDAdding strings. Otherwise, the array is cleared before loading.
$ASTR_TRIMDelete characters <= space on the left and on the right.

Return value

Returns the object which method has been called..


arrstr.loadtrim

Add lines to the array from multi-line string with trimming.

method arrstr arrstr.loadtrim (
   str input
)

Parameters

input The input string.

Related links

Source

Edit