TextInputStream.ReadLine Method

Returns the next line of text (as a String) from the TextInputstream. The optional Encoding parameter enables you to specify the encoding of the text.

Syntax

TextInputStream.ReadLine [Encoding]


Parameters

Encoding (Optional)

TextEncoding


If you pass Nil, the default encoding is used. This is usually UTF-8, unless it was set to another encoding via an assignment statement. If you want to set the encoding to Nil, use the Encoding property instead.