George George

George George

  • NA
  • 778
  • 0

Find unique strings for a string array

Dec 23 2008 12:16 AM

Hello everyone,

I have a string array, but may have duplicate strings. Any built-in or smart way to remove the duplicate ones and generate a string array contains only unique ones?

For example, the input array is {"abc", "bcd", "abc"}, the unique output array is {"abc", "bcd"}.

thanks in advance,
George


Answers (2)