Split string "A10" into char 'A' and int 10
- by calebthorne
Given a string consisting of a single character followed by a number (one or two digits), I would like to split it into a character and an integer. What is the easiest way to accomplish this?