Reading files using delimiters/terminators

Rekel paultjeadriaanse at gmail.com
Sun Dec 27 13:21:44 UTC 2020


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"?


More information about the Digitalmars-d-learn mailing list