Converts a string into a scalar.
NUMSTR("string")
"string" |
- |
A string. The string to convert to a scalar. |
A scalar.
numstr(strfind("XINC", "YOR:12.3 XINC:1.0 YREF:120.0"))
returns: 1.0
NUMSTR is a simple string to numeric converter - think of it as "numify a string".
See NUM2STR to convert a number or series to a string.
See NUMSTRS to convert a string to a series.
See SSCANF for more conversion options.