in reply to Remove duplicate strings from an array

This sounds a lot like homework, so rather than giving you a solution, consider looking at the solutions that you said worked with integers and change your equality operators to those that compare strings.
  • Comment on Re: Remove duplicate strings from an array