title: Create pipe separated string
body: <p>I am trying to create pipe separated string by in following way.</p>
  
  <pre><code>strBuf.append(str[0]);
  strBuf.append("\\|");
  </code></pre>
  
  <p>The result is:</p>
  
  <pre><code>ABC\ DEF\ GHI
  </code></pre>
  
  <p>The expected result was: </p>
  
  <pre><code>ABC|DEF|GHI
  </code></pre>
  
  <p>What exactly I am doing wrong even after escaping it by double slash.</p>