in reply to Removing duplicate substrings from a string - is a regex possible?

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.

  • Comment on Re: Removing duplicate substrings from a string - is a regex possible?