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

lr.eval_string

Returns the string argument after evaluating embedded parameters.

JavaScript

function lr.eval_string(  instring  )

VBScript

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

Arguments

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.

Parameterization

All input arguments can be parameterized using standard parameterization.