Created
July 13, 2013 17:15
-
-
Save iskernel/5991393 to your computer and use it in GitHub Desktop.
How to get line separator in a OS-independent way in Java.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Equivalent of C# Environment.Newline | |
System.getProperty("line.separator"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment