Intel Corporation Interview Question

How do you parse a string for chars in python?