How to append \n literally with StringBuffer?
<p>How to append "\n", literally, not like special character.</p>

<p>I wont to achive this:</p>

<pre><code>StringBuffer st = new StringBuffer;

st.append(text1);
st.append("\n");
st.append(text2);
</code></pre>

<p>and the output string to be:</p>

<pre><code>text1 \n text2
</code></pre>

<p>not</p>

<pre><code>text1
text2
</code></pre>
