Converted the QueryString.ToString parameters from char to string
Made SubstitutionExpression public