Utility Functions and C Language Reference > Utility Functions: Scripting Languages (lr.) > Alphabetical Listing > lr.eval_string


Returns the string argument after evaluating embedded parameters.


function lr.eval_string(  instring  )


Function lr.eval_string(  instring  )
Example: lr.eval_string String and Parameter Functions


Name Comments
instring The string to evaluate.

The lr.eval_string function returns the input string after evaluating any embedded parameters. If the string argument contains only a parameter, the function returns the current value of the parameter.

Embedded parameters must be in brackets.

Return Values

Returns the value of the specified string. On failure, returns NULL.


All input arguments can be parameterized using standard parameterization.