Share this page

# Example: lr.eval_string

## Example 1 - Simple Parameter Substitution

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

    orStockServer1.getStockValue( lr.eval_string("<STOCK>") );

## Example 2 - Multiple Parameter Substitution

    try {
    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>."));
    }
    catch (Exception e) { }

    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: