Gentee Programming Language > Documentation > Libraries Download documentation

str.lines

Get an array of lines out of a string.
 
arr str.lines(
      arr   ret of str,
      uint   trim
)

 
arr str.lines(
      arr   ret of str,
      uint   trim,
      arr   offset
)

Parameters

ret of strThe array to write the found lines to.
trimIf 1, spaces and characters less than a space will be deleted on both sides of the string.
offsetThe uint array for writing the offset of each line.

Return value

The function returns the parameter ret.

See also

    Strings


 Copyright © 2004-2006 Gentee Inc. All rights reserved.