public static String[] lineToArray(String line){
  String[] splitArray=null;
  splitArray=line.split(" ");
  return splitArray;
}

public static String [ ] lineToArray ( String line ) { String [ ] splitArray = null ; splitArray = line . split ( " " ) ; return splitArray ; }
convert a string into an array ( split with spaces )
