title: \r does not generate a line break
body: <p>I use the following code:</p>
  
  <pre><code>if (delanaloge.equals(stari)) {
      if (novi.equals("-")) {
             zdruzen = " -";
      } else {
         zdruzen = zdruzen + " " + " - " + novi + "\r";
      }
      nap = true;
   } 
  </code></pre>
  
  <p><code>\r</code> is appended to create a line break, but it does not generate a line break like I expect. I would like to generate an output similar to this:</p>
  
  <pre><code>- 213
  - 232
  - 1321
  </code></pre>
  
  <p>How can I add a line break in my string?</p>