jodd-core/src/main/java/jodd/util/StringUtil.java
public static int startsWithOneIgnoreCase(final String src, final String... dest) {
		for (int i = 0; i < dest.length; i++) {
			String m = dest[i];
			if (m == null) {
				continue;
			}
			if (startsWithIgnoreCase(src, m)) {
				return i;
			}
		}
		return -1;
	}
public static int startsWithOneIgnoreCase(final String src, final String... dest) {
		for (int i = 0; i < dest.length; i++) {
			String m = dest[i];
			if (m == null) {
				continue;
			}
			if (startsWithIgnoreCase(src, m)) {
				return i;
			}
		}
		return -1;
	}
Checks if string starts with at least one string from the provided array.
If at least one string is matched, it returns its index.
Otherwise, <code>-1</code> is returned.