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

str.lines

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

method arrstr str.lines (
   arrstr ret,
   uint trim,
   arr offset
)

Parameters

ret The result array of strings.
trim Specify 1 if you want to trim all characters less or equal space in lines.
offset The array for getting offsets of lines in the string. It can be 0->>arr.

Return value

The result array of strings.


str.lines

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

method arrstr str.lines (
   arrstr ret,
   uint trim
)

Parameters

ret The result array of strings.
trim Specify 1 if you want to trim all characters less or equal space in lines.

str.lines

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

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

Related links

Source

Edit