StringReader: ReadLine

ReadLine

Reads a line terminated by a CarriageReturn or LineFeed from the string.



 Public Function ReadLine ( ) As String

Return Values

String -  A line from the string or a null string.

Remarks

The returned line does not contain the termination character. If the character is a CarriageReturn followed immediately by a LineFeed, then the LineFeed character is also consumed.

If there are no more characters to be read, then vbNullString is returned.

See Also

Project CorLib Overview

Class StringReader Overview