readln() returns new line charater

Jakob Ovrum jakobovrum at gmail.com
Mon Dec 30 05:51:46 PST 2013


On Monday, 30 December 2013 at 12:36:15 UTC, Regan Heath wrote:
> Cue "empty vs null" theme music..

Empty vs null is not a factor here. It returns a string 
containing the line terminator(s) for an empty line, but an empty 
string (incidentally non-null) if the file is closed.



More information about the Digitalmars-d mailing list