Extracts numerical character(s) from the initial position in a string.
(Only the beginning of the string is considered. Numerical characters within the string are not found.)
Syntax
STRTONUM ("Text")
Data Types of the Arguments
String
Data Type of the Result
Number
Example
Extract the number which is the first character of the element’s ARCHICAD IFC ID (a string-type parameter). (e.g. “3MtfJD8lf96mvn65fX2qo”)
Expression
STRTONUM (ARCHICAD IFC ID)
Result
3 (for an element whose ID is “3MtfJD8lf96mvn65fX2qo”)