code: public static Expression replace(Expression expression, String substring, String repl) {
          return x("REPLACE(" + expression.toString() + ", \"" + substring + "\", \"" + repl + "\")");
      }
docs: Returned expression results in a string with all occurrences of substr replaced with repl.