I figured out a solution for the question I asked on here.
To find the next digit (0-9) in a string, I use:
text.find("0" or "1" or "2", etc.......)
But is there a more elegant way to do this? The way I found uses a lot of typing.