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
迷茫2017-05-17 10:10:06
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