Capgemini Engineering Interview Question

Find the duplicate values in a given string?