Can we use %{ } for substituion strings as we do elsewhere. Then you can use the ParameterProcessor class to handle the substitutions.