The following data is output to a CSV cell: only line breaks in this cell
strKey = "\""+"w3444444444444445\n234444444444"+"\""; 而不是像图中换到了另一行
It won’t work if you change it to r or rn
Is this still in CSV format?
FileWriter writer = new FileWriter(file); writer.write("1,2,3,4\n\"5\nw\",6,7,8"); writer.close();
I tried it, and it’s ok if I write it like this. Just make sure that the content to be wrapped is enclosed in double quotes
Is this still in CSV format?
I tried it, and it’s ok if I write it like this. Just make sure that the content to be wrapped is enclosed in double quotes