I have a string that contains new lines. I send this string to a function to write the String to a text file as:
public static void writeResult(String wr
SIMPLE SOLUTION
File file = new File("F:/ABC.TXT"); FileWriter fileWriter = new FileWriter(file,true); filewriter.write("\r\n");