klyn.io.StringReader.readLines
method
public readLines() as ArrayList<String> throws IOException:
Description

Reads all remaining lines from the current reader position.

Returns

Ordered list of lines, each including its line terminator when present.

Throws
  • IOException if a reader error occurs.
Example
reader = StringReader("a\nb")
print(reader.readLines().size)