Read Complete File to Array of Lines

Paul phshaffer at gmail.com
Fri May 11 08:00:16 PDT 2012


I would like to read a complete file in one statement and then 
process it line by line.

foreach (line; MyFile)
etc.

Is it possible to read a file into and array of lines?
Thanks


More information about the Digitalmars-d-learn mailing list