Join list of strings into single string without duplicates?

I have a list of strings I want to join into one string, BUT I want to check to make sure it’s not the same string repeated over and over.

Example List:
DOG
DOG
CAT
PIGEON
CAT

I want the final string to be “DOG/CAT/PIGEON”.

How would I do that?

Thanks!
Matt

List.UniqueItems should do the trick, it reduces a list down to unique values without adjusting the list order.

3 Likes

Unique Items. Perfect name for it. :smiley: