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:07:11 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?

That's why you'll usually want to sort before using uniq.


More information about the Digitalmars-d-learn mailing list