Given an input string consisting of the first one or two characters followed by a number, I would like to split it into a characters and an integer. What is the easiest way to accomplish this?
figured i could use something like this below, but what if the user only puts one character or maybe 4 numbers?
1 2
string mystring = "AJ900";
string sub = mystring.substr(0, 1);