I just wanted to know the best way to parse the following string.
string temp = "200 SU90";
I would like to end up with everything in the string above before the space. After that I would like to remove the last character of what is retrieved. So in the string above I am trying to get "20" as a result.
Just curious the easiest way to do this in c++