So given data for example:
a898 //result string1=a string2=898
b832 //string1=b string2=832
c3232 //string1=c string2=3232
d938202 //string1=d string2=938202
I'm attempting to get the letter and put it in a String, and then have the rest of the numbers in another String. I am using charAt(0) to get the letter, but am having issues finding a way to split the numbers given that they aren't all of the same length.
One way I used, when there weren't 26 diff options, in another program was replacing a with a|, b with b|, and so on and then splitting on the |. It led to very ugly code and I was hoping for another option. Thanks for your time!