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

lr.eval

Returns the string argument after evaluating embedded parameters.

JavaScript

function lr.eval(  instring  )

VBScript

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

Arguments

Name Comments
instring The string to evaluate.

The lr.eval function evaluates the instring value, replacing any embedded parameters with the current value. If the instring argument contains only a parameter, the function returns the current value of the parameter.

Parameters must be in parameter brackets.

Return Values

The input string, expanded to include the values of embedded parameters.

Parameterization

All string input arguments can be passed using standard parameterization.