System.getProperty("line.separator") Vs "\n" for Android System.getProperty("line.separator") Vs "\n" for Android android android

System.getProperty("line.separator") Vs "\n" for Android


If you get line separated responses use BufferedReader.readLine() to read each line and then use System.getProperty("line.separator") if you want to insert the newline back into the String.