I have no idea what the best way of going about coding this is. I've been stuck on it for a couple of hours now...
It has to be consecutive, either forwards or backwards, and has to loop. I think the String can be 4 digits max but I'm not entirely sure on that.
I've separated the String into chars but don't know what's the best way of separating letters from digits or best way of making them loop.