public static String extractCSVOutputLineFreq(String csvOut){
  String tokens[]=csvOut.split(",(?=([^\"]*\"[^\"]*\")*[^\"]*$)",-1);
  return tokens[0];
}

public static String extractCSVOutputLineFreq ( String csvOut ) { String tokens [ ] = csvOut . split ( ",(?=([^\"]*\"[^\"]*\")*[^\"]*$)" , - 1 ) ; return tokens [ 0 ] ; }
used for testing - - input is a full csv line : < freq , domain , ip , ts , opt : generic >
