IBM interview question

How do you parse a String in Python?