My app takes in a string from a text box which is of course located on a form.

The contents of the string will be some form of expression statement

EG (A*B)+(C/D)

Once the user has entered their expression into the textbox and pressed a control button I want to be able to go though the string and split the contents into chars, oprators(*,+,-,/) and the parentheses.

Is split the best way to do this? Ive been playing around with it and can't seem to find a way of picking out all chars (I could by divining a list of chars but that would take forever)


Any ideas