public static int indexOfChars(String str,String chars,int fromIndex){
  final int len=str.length();
  for (int pos=fromIndex; pos < len; pos++) {
    if (chars.indexOf(str.charAt(pos)) >= 0) {
      return pos;
    }
  }
  return -1;
}

public static int indexOfChars ( String str , String chars , int fromIndex ) { final int len = str . length ( ) ; for ( int pos = fromIndex ; pos < len ; pos ++ ) { if ( chars . indexOf ( str . charAt ( pos ) ) >= 0 ) { return pos ; } } return - 1 ; }
like string . indexof ( ) except that it will look for any of the characters in ' chars ' ( similar to c ' s strpbrk )
