I couldn't help but thinking 'sort | uniq', so I did a search on uniq and came up with == uniq, which looks promising. I've read the comments warning against the regex solutions and have to agree, so you may wish to view MeowChow's array code for the same.
In reply to Re: Removing duplicate substrings from a string - is a regex possible?
by ginseng
in thread Removing duplicate substrings from a string - is a regex possible?
by iakobski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |