I have a string of data that I need to read the first two characters from, use, and then discard.
For example,
code = '2436444423'
I want to take the '24' assign it to a value 'x' and delete the '24' from the original string leaving it as:
code = '36444423'
and then assign '36' to 'y', delete it, '44' to 'z' and so on until the original string is empty.