std.array.array broken?

deed none at none.none
Sat Feb 1 15:15:59 PST 2014


On Saturday, 1 February 2014 at 22:59:12 UTC, bearophile wrote:
> deed:
>
>> auto lines = File(filename).byLine.array;
>> writeln(lines); // Crap
>> ---
>
> Beside the answers that others have already given you, another 
> way to do that is to read the whole file (with read or 
> readText) and then use splitlines on the string.
>
> Bye,
> bearophile

Thanks


More information about the Digitalmars-d-learn mailing list