Ranges: How to take N last of elements of range
Jakob Ovrum via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Dec 27 06:27:37 PST 2015
On Saturday, 26 December 2015 at 05:31:59 UTC, Ur at nuz wrote:
> On Friday, 25 December 2015 at 20:06:04 UTC, drug wrote:
>> 25.12.2015 17:13, Ur at nuz пишет:
>> You can do following http://dpaste.dzfl.pl/41c57f89a5a0
>> The reason of compile error is your using a range as a
>> separator, change it to single symbol and it works. Also I
>> used 'array' after 'take' to make range bidirectional to let
>> next 'retro' works. And 'join' joins result to string with '.'
>> as a separator.
> Thanks for reply. This is useful
More information about the Digitalmars-d-learn