Strange behavior std.range.takeNone

Dennis Ritchie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 7 02:12:31 PDT 2015


On Tuesday, 7 April 2015 at 08:49:58 UTC, Andrea Fontana wrote:
> Yes it is.
>
> takeNone() take a char from a string.
>
> So you are going to append a char (with code 5) on the next 
> line.
> If you replace that line with:
>
> s ~= 65;
>
> it will print "A".  (65 is ascii code for letter 'A')

Thanks. I am aware :)


More information about the Digitalmars-d-learn mailing list