klyn.io.StringReader.readLine
method
public readLine() as String throws IOException:
Description

Reads one line from the current reader position.

Returns

Next line including its line terminator when present, or "" at end-of-stream.

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