Reversing a string

Mike James foo at bar.com
Fri Jan 11 11:15:05 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.

Check out the origin :-)

https://forum.dlang.org/thread/hl8345$2b1q$1@digitalmars.com?page=1


-=mike=-


More information about the Digitalmars-d-learn mailing list