Remove duplicates from a String