Tychon interview question

How do you parse a string in Linux?