Find repeat char in the input string