Why uniq do not work with array of strings?

Tobias Pankrath via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 16 11:05:08 PST 2015


On Monday, 16 February 2015 at 18:45:17 UTC, Suliman wrote:
> Oh I understood. It's means that it work only of two or more 
> element's is placed one after one?

Yes, uniq returns exactly the same range as its input, except 
that elemens that are equal to their immediate predecessor are 
dropped.


More information about the Digitalmars-d-learn mailing list