Hello everyone,

I need assistance in parsing a mathematical formula that is input by the user. Say a user inputs the following; 4*(370-345)+12.

How would I go about parsing such a string? We would have no idea how many numbers or operations the person enters, within a set character limit.

Any hints would be much appreciated. Thanks in advance.