How to append new line in StringBuilder
- Jonathan
- Jun 19, 2019
- 1 min read
There are several ways to add(call append in StringBuilder) new line.
System.lineSeparator(); - Over Java 7
System.getProperty("line.separator");
\n (* not /n)
Jonathan's Development
There are several ways to add(call append in StringBuilder) new line.
System.lineSeparator(); - Over Java 7
System.getProperty("line.separator");
\n (* not /n)
Comments