How to use function to extract 1 or 2 digit number from a string [message #648848] |
Fri, 04 March 2016 14:33 |
|
blyzz
Messages: 10 Registered: October 2015
|
Junior Member |
|
|
I am trying to use str function to extract number from a string
The String always starts with 1 or 2 digit number and then "" and alphabetic characters:
Ex: 10-high or 6-low
The issue is that if I use Substr(string 1,2) then I am getting 10 for first string but 6- for second one but I am only interested in number 10 or 6
Is there any other function that I can use?
How can I do this?
Thank you,
Blyzzard
|
|
|
|
|
|
|