Hello !
As I wrote in the title.
I'm looking for a Java command wchich is simmilar to ' tr -s" " ' in UNIX.
tr -s"[sequence]" : Replace each input sequence of a repeated character that is listed in SET1 with a single occurrence of that character.
thanks for any help.