Search for a repeated subtsring and print out all the string value only once in java

Printable View