stringtoint/2—convert a string value to an integer value
The stringtoint/2 primitive converts a string value to an integer value.
stringtoint($STRVAL,$INTVAL)
$INTVAL=stringtoint($STRVAL)
$INTVAL=stringtoint($STRVAL)
stringtoint/2 arguments
Argument | Mode | Type | Description |
---|---|---|---|
$STRVAL | Input | STRING | Specifies the string value to be converted to an integer |
$INTVAL | Output | INTEGER | The conversion result, returned as an integer |
Use stringtoint/2 to convert a string value specified in the $STRVAL argument to an integer value returned in $INTVAL.
stringtoint/2 example
$INTVAL = stringtoint($E.msg);
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*