File.readln()

Availability

Flash Media Server 2.

Usage

fileObject.readln()

Parameters

None.

Returns

A string.

Description

Method; reads the next line from the file and returns it as a string. The line-separator characters (either \r\n on Windows or \n on Linux) are not included in the string. The character \r is skipped; \n determines the actual end of the line. The operation fails if the file opened in binary mode.

See also

File.read(), File.readAll(), File.readByte()