Problem with std.string.strip(): Can't use result in format routine

Ky-Anh Huynh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 5 06:40:18 PDT 2017


On Tuesday, 5 September 2017 at 13:17:34 UTC, Azi Hassan wrote:
>
> Maybe it has something to do with how you read from STDIN. Can 
> you show that part of the code to see if I can reproduce the 
> issue ?

I used `lines(stdin)` as in 
https://dlang.org/phobos/std_stdio.html#.lines . My source code 
is here

https://github.com/icy/dusybox/blob/master/src/plotbar/main.d#L47 
.

Thanks for your support.


More information about the Digitalmars-d-learn mailing list