Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
Ja, das tut es auch. Wenn du es richtig anwendest (und z.B. das richtige Trennzeichen einstellst etc.) Aber das sagte ich ja bereits...Ich dachte nur ,dass csvReader die Zeilen ohnen diese zusätzlichen Symbole ausliest.
z.B. """" und ;;;;
public static void main(String[] argv) {
try{
CSVReader reader = new CSVReader(new FileReader("c:/tmp/data.csv"));
String [] nextLine;
while ((nextLine = reader.readNext()) != null) {
// nextLine[] is an array of values from the line
System.out.println(nextLine[0]);
}
}
catch (IOException e) {
System.out.println("Fehler: "+e.toString());
}
}
Ist alles beschrieben: http://opencsv.sourceforge.net/ Insbesondere im Punkt Can I use my own separators and quote characters?Hy,
kann mir vielleicht jemand ein beispil Code geben, wo diese symbole nicht mit auftauchen
System.out.println(nextLine[0] + nextLine[1] + "etc...");
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at pars.main(pars.java:22)
System.out.println(nextLine[0]);