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