{{tag>Index Function Function_List Miscellaneous Version:v8.1}} ====== EVAL_STRING ====== ===== Description ===== Evaluates the specified string as if it was a condition of the Rule Language. Returns the result of evaluation, which can either be a numeric value or “Yes/No” value ===== Parameters ===== An expression providing a string. Two optional extra parameters specify what should happen when condition evaluates to Yes or No (see the last example) ===== Example ===== Object.Attribute = 'Customer.Nmb' IF EVAL_STR (Object.Attribute ) = 5 THEN ... Object.Attribute = 'Customer.Nmb >5' IF EVAL_STR(Object.Attribute) = 'Yes' THEN ... Company.Address = Company.Address1 + EVAL_STRING('Company.Address2 IS DEFINED', CR() + Company.Address2, '')