code: public static Expression rtrim(Expression expression, String characters) {
          return x("RTRIM(" + expression.toString() + ", \"" + characters + "\")");
      }
docs: Returned expression results in the string with all trailing chars removed (any char in the characters string).