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

ustr.lines

Convert a multi-line unicode string to an array of unicode strings.

method arrustr ustr.lines (
   arrustr ret,
   uint flag
)

Parameters

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


ustr.lines

Convert a multi-line unicode string to an array of unicode strings.

method arrustr ustr.lines<result> (
   uint trim
)

Parameters

trim Specify 1 if you want to trim all characters less or equal space in lines.

Return value

The new result array of unicode strings.


ustr.lines

Convert a multi-line unicode string to an array of unicode strings.

method arrustr ustr.lines (
   arrustr ret
)

Parameters

ret The result array of strings.

ustr.lines

Convert a multi-line unicode string to an array of unicode strings.

method arrustr ustr.lines<result>()

Return value

The new result array of unicode strings.

Related links

Source

Edit