docs: public static String removeEndIgnoreCase(String str, String remove) {
          if (isEmpty(str) || isEmpty(remove)) {
              return str;
          }
          if (endsWithIgnoreCase(str, remove)) {
              return str.substring(0, str.length() - remove.length());
          }
          return str;
      }