code: public static boolean startsWithIgnoreCase(String str, String prefix) {
          return (str != null && prefix != null && str.length() >= prefix.length() &&
              str.regionMatches(true, 0, prefix, 0, prefix.length()));
      }
docs: Test if the given {@code String} starts with the specified prefix, ignoring upper/lower case.
  
  @param str the {@code String} to check.
  @param prefix the prefix to look for.