SyntaxFix
Write A Post
Hire A Developer
Questions
Try: "\r\n"
Java 7 example:
// append = true try(PrintWriter output = new PrintWriter(new FileWriter("log.txt",true))) { output.printf("%s\r\n", "NEWLINE"); } catch (Exception e) {}