public static boolean startsWithIgnoreCase(@Nullable String str, @Nullable String prefix) {
        return (str != null && prefix != null && str.length() >= prefix.length() &&
            str.regionMatches(true, 0, prefix, 0, prefix.length()));
    }
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
see java.lang.String#startsWith
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/util/StringUtils.java