int (@NotNull String where, char what, int fromIndex) { int sourceCount = where.length(); for (int i = Math.max(fromIndex, 0); i < sourceCount; i++) { if (charsEqualIgnoreCase(where.charAt(i), what)) { return i; } } return -1; }