Share this page

# Example: lr.eval_string

## Example 1 - Simple Parameter Substitution

    lr.message " Track Stock : " + lr.eval_string("<STOCK>")

    lr.message getStockValue( lr.eval_string("<STOCK>") )

## Example 2 - Multiple Parameter Substitution

    lr.save_string "Wickham", "duty_officer"

    lr.save_string "swing", "shiftName"

    lr.output_message _
    	(lr.eval_string _
    	    ("The duty_officer for the <shiftName> shift is <duty_officer>."))

    Example: Output: The duty_officer for the swing shift is Wickham.

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