Hello, I have to separate a string of unknown length which is in a format that looks like "xxxYxxxYxxxY" where 'x' is a three digit number ranging from 0-9 and 'Y' is a single character letter ranging from A-Z. I was wondering if someone could show me how to do that.
Here is an example string and output:
Input: 012X999Y764Z
Output:
1 2 3 4 5 6
Number = 012
Letter = X
Number = 999
Letter = Y
Number = 764
Letter = Z