title: How to prevent dbms_output.put_line from trimming leading whitespace?
body: <p>I am trying to right-align the output of some PL/SQL code, but dbms_output.put_line is trimming the leading whitespace from my strings. How do I make it stop? Or is there a better way to output strings with leading whitespace?</p>
  
  <pre><code>dbms_output.put_line(lpad('string', 30, ' '));
  </code></pre>
  
  <p>outputs:</p>
  
  <pre><code>string
  </code></pre>
  
  <p>instead of:</p>
  
  <pre><code>                        string
  </code></pre>