Share this page

# lr.eval

Returns the string argument after evaluating embedded parameters.

## JavaScript

    function lr.eval(  instring  )

## VBScript

    Function lr.eval(  instring  )

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.

## Example: lr.eval

In the following example, lr.eval replaces the parameter row_cnt with its current value. This value is sent to the output window or log file using lr.output_message.

    lr.output_message( lr.eval("The row count is: {row_cnt}"));

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: