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) { }
Output:
The duty_officer for the swing shift is Wickham.