Flash Media Server |
|||
| Server-Side ActionScript Language Reference > Server-Side ActionScript Language Reference > File class > File.readln() | |||
Flash Media Server 2.
fileObject.readln()
None.
A string.
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.
File.read(), File.readAll(), File.readByte()