find the first dupulicated char in a string