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