lr.evalString

Returns the string argument after evaluating embedded parameters.

ExampleString and Parameter Functions

Syntax

lr.evalString( instring );
		

Arguments

ArgumentComments
instringThe string to evaluate.

The lr.evalString 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 error, returns null.

Parameterization

All arguments can be parameterized using standard parameterization.

Example

  lr.outputMessage("value : " + lr.evalString("The row count is: {row_cnt}"));