Incrementing alpha characters. Base36
Came upon a problem needed at work where i'm having some trouble programming the solution. They are looking for a simple program which takes entry of a 6 digit "number" as a START number, then another 6 digit "number" as an ending number. The program needs to generate the numbers inbetween (inclusive of the start and end).
I wrote this without any problems several months ago. The trouble now is, they specifications have changed. The last 4 digits of the 6 digit number now will no longer be base10, but base 36. So for example:
Needs to generate:
I'm having trouble on how to accomplish this. My first though was to handle each of the last 4 characters individually, increment the ones digit from 0-Z, then increment the tens digit and so on, however, that seems very not efficient.
So, any advice would be terrific. Thanks in advance.