On Sunday, 27 December 2020 at 13:21:44 UTC, Rekel wrote:
On Sunday, 27 December 2020 at 02:41:12 UTC, Jesse Phillips wrote:
Unfortunately std.csv is character based and not string. https://dlang.org/phobos/std_csv.html#.csvReader

But your use case sounds like splitter is more aligned with your needs.

https://dlang.org/phobos/std_algorithm_iteration.html#.splitter

But I'm not using csv right? Additionally, shouldnt byLine also work with "\r\n"?

Right, you weren't using csv. I'm not familiar with the file terminater to known why it didn't work.

byline would allow \r\n as well as \n

Reply via email to