Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Append Line Separator In StringBuilder

StringBuilder str = new StringBuilder();
        str.append(String.format("Employees working at Cafe %s:",this.name));
        str.append(System.lineSeparator()); //adding line separator
 
PREVIOUS NEXT
Tagged: #Append #Line #Separator #In #StringBuilder
ADD COMMENT
Topic
Name
8+2 =