imagine these string input:
23*4 + (4+5*3)
how can convert these string into a math expression?
imagine these string input:
23*4 + (4+5*3)
how can convert these string into a math expression?
It's already a math expression, isn't it? If you mean "how do I calculate the value of this string that represents a math expression" then you may want to look at the Shunting Yard algorithm.
A little inaccuracy saves tons of explanation. - H.H. Munro