File .. byLine

Joel joelcnz at gmail.com
Mon Dec 3 07:03:47 UTC 2018


On Monday, 3 December 2018 at 06:55:50 UTC, Nicholas Wilson wrote:
> On Monday, 3 December 2018 at 06:09:21 UTC, Joel wrote:
>> [...]
>
> https://run.dlang.io/is/h0ArAB
>
> works for me. If you want it as a string not  char[] then 
> byLineCopy should work, if not just `.idup` `line`.

Oh, I was using std.algorithm's 'stripLeft' instead of 
std.string's 'stripLeft'.


More information about the Digitalmars-d-learn mailing list