I have lines that look like this:
1. abc
2. def
88. ghi
I would like to get numbers from strings and put them in a variable, and then get the rest of the string and put it in another variable. The number is always at the beginning of the line, and the number comes after the number. Is there an easy way so that I can parse one string into a number and a string?
source
share