code: public static int indexOf(String S, char[] chars, int start) {
  		int Slen=S.length();
  		int clen=chars.length;
  		for(int c=start;c<Slen;c++) {
  			char ch=S.charAt(c);
  			for(int d=0;d<clen;d++) if(ch==chars[d]) return c;
  		}
  		return -1;
  	}
docs: Finds the first occurrence of any of the supplied characters starting at the specified index.
  
  @param  S  the <code>String</code> to search
  @param  chars  the characters to look for
  @param  start  the starting index.
  
  @return  the index of the first occurrence of <code>-1</code> if none found