JaLeo
Mitglied
Hi!
Ich brauch bitte eure Hilfe! Wir müssen in der Schule aus einem Textfile lesen. Dies ist so aufgebaut:
1,"20020912",9,2,100,"GOE","HIN","Binf",,,,"016","016",,"3WA","001",,2,"3WA"
2,"20020912",10,2,100,"GOE","HIN","Binf",,"Binf",,"016","016",,"3WA","001",,2,"3WA"
3,"20020913",1,2,390,"GOE","KOE","Wla",,,,,"W109",,"4T","001",,2,"4T"
4,"20020913",2,2,390,"GOE","KOE","Wla",,,,,"W109",,"4T","001",,2,"4T"
5,"20020913",3,2,1047,"GOE","SA","Binf",,,,"017","017",,"5WB","001",,2,"5WB"
6,"20020913",4,2,1047,"GOE","SA","Binf",,,,"017","017",,"5WB","001",,2,"5WB"
7,"20020913",5,2,133,"GOE","HEW","Prpe",,,,"017","017",,"3WB","001",,2,"3WB"
8,"20020913",6,2,133,"GOE","HEW","Prpe",,,,"017","017",,"3WB","001",,2,"3WB"
Diese Werte müssen wir trennen, wenn Anführungszeichen vohanden sind diese löschen, und dann in eine Datenbank schreiben. Wie könnt ich das am Besten anstellen? DAnke im Vorraus!
Mfg Leo
Ich brauch bitte eure Hilfe! Wir müssen in der Schule aus einem Textfile lesen. Dies ist so aufgebaut:
1,"20020912",9,2,100,"GOE","HIN","Binf",,,,"016","016",,"3WA","001",,2,"3WA"
2,"20020912",10,2,100,"GOE","HIN","Binf",,"Binf",,"016","016",,"3WA","001",,2,"3WA"
3,"20020913",1,2,390,"GOE","KOE","Wla",,,,,"W109",,"4T","001",,2,"4T"
4,"20020913",2,2,390,"GOE","KOE","Wla",,,,,"W109",,"4T","001",,2,"4T"
5,"20020913",3,2,1047,"GOE","SA","Binf",,,,"017","017",,"5WB","001",,2,"5WB"
6,"20020913",4,2,1047,"GOE","SA","Binf",,,,"017","017",,"5WB","001",,2,"5WB"
7,"20020913",5,2,133,"GOE","HEW","Prpe",,,,"017","017",,"3WB","001",,2,"3WB"
8,"20020913",6,2,133,"GOE","HEW","Prpe",,,,"017","017",,"3WB","001",,2,"3WB"
Diese Werte müssen wir trennen, wenn Anführungszeichen vohanden sind diese löschen, und dann in eine Datenbank schreiben. Wie könnt ich das am Besten anstellen? DAnke im Vorraus!
Mfg Leo