The first thing you have to learn how to do is splitting the string up into its logical parts.
If you have the string "111+2222 - 33" you have to split it up to a list / array / collection of...