public static int findFirstNotOf(String container,String chars,int begin){
  for (int i=begin; i < container.length() && i >= 0; ++i)   if (!chars.contains("" + container.charAt(i)))   return i;
  return -1;
}

public static int findFirstNotOf ( String container , String chars , int begin ) { for ( int i = begin ; i < container . length ( ) && i >= 0 ; ++ i ) if ( ! chars . contains ( "" + container . charAt ( i ) ) ) return i ; return - 1 ; }
find the first occurrence of characters not in the charseq from begin
