Re: line terminators

2022-09-28 Thread NonNull via Digitalmars-d-learn
On Wednesday, 28 September 2022 at 21:17:16 UTC, rassoc wrote: On 9/28/22 21:36, NonNull via Digitalmars-d-learn wrote: [...] If you have structured data, you can use byRecord [1] to read the important parts right into a tuple. [...] Thanks --- very helpful.

Re: line terminators

2022-09-28 Thread rassoc via Digitalmars-d-learn
On 9/28/22 21:36, NonNull via Digitalmars-d-learn wrote: If I want to read a text file line by line, treating any one of these things as a newline, there would seem to be no canned way to do that in std.stdio . 1.) What is the best way to achieve this result in D? If you have structured data,