I've been searching for reading number in a string containing mix of number and char for hours, but I've found the right code. The string has the format
q23 - q3 (or q23-q3)
I'd like to read the number '23' and store it in x, '3' --> y, and '-' --> z. Could you tell me how to do this?