readLine

File.readLine(filename)

Parameters

filename Path of file to read from.

Returns

The string from the current read position to the next endline character.

Description

Reads and returns all characters as a string from the current read position to the next endline character. The returned string does not contain the endline character. The read position advances to be immediately after the endline character.