public static int indexOfChars(String string, char[] chars, int startindex) {
    """
	Returns the very first index of any char from provided string, starting from specified index offset.
	Returns index of founded char, or <code>-1</code> if nothing found.
    """
        int stringLen = string.length();
        for (int i = startindex; i < stringLen; i++) {
            char c = string.charAt(i);
            for (char aChar : chars) {
                if (c == aChar) {
                    return i;
                }
            }
        }
        return -1;
    }
public static int indexOfChars(String string, char[] chars, int startindex) {
        int stringLen = string.length();
        for (int i = startindex; i < stringLen; i++) {
            char c = string.charAt(i);
            for (char aChar : chars) {
                if (c == aChar) {
                    return i;
                }
            }
        }
        return -1;
    }
public static int indexOfChars ( String string , char [ ] chars , int startindex ) { int stringLen = string . length ( ) ; for ( int i = startindex ; i < stringLen ; i ++ ) { char c = string . charAt ( i ) ; for ( char aChar : chars ) { if ( c == aChar ) { return i ; } } } return - 1 ; }
Returns the very first index of any char from provided string, starting from specified index offset.
Returns index of founded char, or <code>-1</code> if nothing found.
Returns the very first index of any char from provided string starting from specified index offset . Returns index of founded char or <code > - 1< / code > if nothing found .