Capgemini Engineering interview question

Find the duplicate values in a given string?