public static int indexOfWhitespace(String string){
  return indexOfWhitespace(string,0,string.length());
}

public static int indexOfWhitespace ( String string ) { return indexOfWhitespace ( string , 0 , string . length ( ) ) ; }
returns first index of a whitespace character .
