readLine()
From Hack Wars Wiki
| Information for free function readLine() | |
| Function | readLine(string file, int line) |
| API | File IO |
| Description | Reads a single line from a file. The returned string contains everything on the specified line, including the end of line terminator. |
Example
The following code will put the first line of the file "test.txt" into the variable line.
string line=readLine("test.txt",0); |
