For example, the VAL function in MSAccess will do that:
Returns the numbers contained in a string as a numeric value of appropriate type.
Syntax: Val(string)
The required string argument is any valid string expression.
The following returns the value 1615198:
Val(" 1615 198th Street N.E.")
Is there a similar function in SAS that can do this?
Thanks!
Start Free Trial