Share this page

# lr.eval

Returns the string argument after evaluating embedded parameters.

## C#

    string lr.eval( string instring );

## VB.NET

    Function lr.eval( ByVal instring As String   ) as String

String and Parameter Functions

## Arguments

Name | Comments
--- | ---
instring | The string to evaluate.
outstring | The string after embedded parameters have been evaluated.

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

The following example evaluates an int, long, double, and string expression, and sends them to the output.

    lr.output_message(lr.eval("{DoubleParam}(double),{IntParam}(int),{LongParam}(long),{StringParam}(string)"));

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