Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
generelz said:String linebreak = System.getProperty("line.separator");
In windows the linebreak is two characters ("\r\n"), so you will have to add logic to handle that.
As I said, its dependent on whats common for the OS, Windows is normally \r\n, *nix tends to be \n. Its more of just whats common practice then a requirement.Aeren said:so you're saying, if i read in "\r" then i should check the next char if it's "\n"?
Btw, now that you mention it, isn't linebreak "\n"only?