Extract digits
I have a set of strings that contain digits at the right end, such as:
s1 = "abcd1234"
s2 = "g10"
s3 = "yyy19123"
The data will always contain alpha chars on the left, and digits on the right.
What's a fast way to quickly extract the digits of each string?
thanks
-Robert
|