Answers for "stringBuilder append string"

3

stringbuilder append new line

StringBuilder r = new StringBuilder();

//It should be
r.append("\n");

//But I recommend you to do as below, 
//beacuse it is system independent
r.append(System.getProperty("line.separator"));
Posted by: Guest on April-17-2020
0

stringBuilder append string

public StringBuilder append(String str)
Posted by: Guest on July-28-2020
0

append is a metho in string or string builder

append (String str) is a method in StringBuilder
Posted by: Guest on May-15-2021

Code answers related to "stringBuilder append string"

Browse Popular Code Answers by Language