Hi I'm going to make a calculator and I want a +/- button. I want to get the latest *, -, +, / in the string and define whats the laststring.
For example:
str="2+3*13"
I want this to be split into:
strA="2+3*"
strB="13"
Another example:
str="3-2+8"
Should split into:
strA="3-2+"
strB="8"