-1

Possible Duplicate:
Java Remove Duplicates from an Array?

String={3333,4444,5555,5555,1111}

Using Delimiter i have put the String values in an array[]..

Now, How can i remove the same entries in an Array???

Community
  • 1
  • 1
user1580945
  • 91
  • 2
  • 2
  • 10

1 Answers1

3

Use Set instead, Or use temporarily Set and get the unique result back to array

See

Community
  • 1
  • 1
jmj
  • 237,923
  • 42
  • 401
  • 438