Reversing a string
andreas.davour at protonmail.ch
Fri Jan 11 13:41:51 UTC 2019
On Friday, 11 January 2019 at 11:15:05 UTC, Mike James wrote:
> On Friday, 11 January 2019 at 09:41:30 UTC, bauss wrote:
>> On Friday, 11 January 2019 at 08:25:41 UTC, Seb wrote:
>>> On Friday, 11 January 2019 at 08:05:39 UTC, AndreasDavour
>>>> I've just started to learn some D, so maybe this question is
>>>> extremely stupid, but please bear with me.
>>> Use .retro - it is also lazy and won't allocate:
>> What a terrible name.
> Check out the origin :-)
Look at that.
Incidentally, I kind of like "foreach(i; 99 .. 0 : -1)".
More information about the Digitalmars-d-learn