Writing header line to csv
posted 6 years ago
As it is, you're passing many, many parameters to file.write - when it actually only takes a single one. What you need to do is to escape the double quotes, so that they don't get interpreted by the Java compiler. Every double quote (except for the very first and the very last) must be preceded by a backslash. So the parameter would start as "Acc\",\"emPAI (al.....