Reads the next line from the input.
When a line is read, any remaining tokens from the previous line are discarded.
Example:
var scanner = Scanner.fromString ("first line\nsecond line");
assert (scanner.nextLine () == "first line");
|
the next line without terminator, or null at EOF. |