Pergunta de entrevista da empresa Fidessa

Return first character in a string which repeats within same string.