When i run the following code, the output is not displaying in a new line but displays everything in a same line. Any advice please. I'm struggling but cant get it solved. this is kind of urgent any help is great...
StringBuffer s = new StringBuffer(4000);
s.append("Name: " + custNamerequestedAmt + "\n");
s.append("Name: " + custNamerequestedAmt+"\n");
//s.append('\n'); // also tried this but did not work
s.append("Phone: " + custPhone + "\n");
s.append("Email: " + custEmail + "\n");
s.toString();
Also I want to bold the headings of the column the name and phone, how can i acheive this.