mapeirce
Programmer
- Aug 25, 2003
- 5
I have a need to extract the number part only from a string that may contain text as well as the number.
example 809A. Is there a function that will return just the 809 in the form of an int? or even just the 809? (I can cast the result to int if needed) I don't know what the length of the string or the number might be. it could vary.
Thanks for any help
map
example 809A. Is there a function that will return just the 809 in the form of an int? or even just the 809? (I can cast the result to int if needed) I don't know what the length of the string or the number might be. it could vary.
Thanks for any help
map