extract text file with multiples lines
in
Programming Questions
•
6 months ago
Hi,
I don't manage to export a text file with multiple lines. Each time the 1st line is rewritten :
thanks
I don't manage to export a text file with multiple lines. Each time the 1st line is rewritten :
void setup() {
String[] isbn = loadStrings("../listeIsbn.txt"); // *listeIsbn.txt* contain 3 lines
for(int i=0 ; i< isbn.length ; i++){
output = createWriter("export.txt") ; // only one line in the .txt export
output.println(isbn[i]) ;
output.flush();
output.close();
}
}
thanks
1