Reversing a string
AndreasDavour
andreas.davour at protonmail.ch
Fri Jan 11 11:00:57 UTC 2019
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
>> wrote:
>>> Hi.
>>>
>>> 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:
>>
>> https://run.dlang.io/is/A6bjrC
>
> What a terrible name.
Well, it was not the first one I would have searched for, no.
Good to know it exists as well, though. Thanks!
More information about the Digitalmars-d-learn
mailing list