public static String parseDiskString(String input){
  String delims="[ ]+";
  String[] tokens=input.split(delims);
  return tokens[0];
}

public static String parseDiskString ( String input ) { String delims = "[ ]+" ; String [ ] tokens = input . split ( delims ) ; return tokens [ 0 ] ; }
get the disk name out from the input string .
