public static int indexOfChars(String string, String 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();
        int charsLen = chars.length();
        if (startindex < 0) {
            startindex = 0;
        }
        for (int i = startindex; i < stringLen; i++) {
            char c = string.charAt(i);
            for (int j = 0; j < charsLen; j++) {
                if (c == chars.charAt(j)) {
                    return i;
                }
            }
        }
        return -1;
    }
public static int indexOfChars(String string, String chars, int startindex) {
        int stringLen = string.length();
        int charsLen = chars.length();
        if (startindex < 0) {
            startindex = 0;
        }
        for (int i = startindex; i < stringLen; i++) {
            char c = string.charAt(i);
            for (int j = 0; j < charsLen; j++) {
                if (c == chars.charAt(j)) {
                    return i;
                }
            }
        }
        return -1;
    }
public static int indexOfChars ( String string , String chars , int startindex ) { int stringLen = string . length ( ) ; int charsLen = chars . length ( ) ; if ( startindex < 0 ) { startindex = 0 ; } for ( int i = startindex ; i < stringLen ; i ++ ) { char c = string . charAt ( i ) ; for ( int j = 0 ; j < charsLen ; j ++ ) { if ( c == chars . charAt ( j ) ) { 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 .