Calculate the string expression (with dynamic parameters)