UPS interview question

Finding the given character from a string