Qualtrics interview question

Return the first duplicated letter in a string