title: String padding for a text template
body: <p>I'm creating a PDF file from a txt-template with tcpdf ([Example 8][1]). The txt-template looks like this:  </p>
  
  <pre><code>SALUTATION  
  FIRSTNAME LASTNAME                            
  STREET                     CURRENTDATE
  SOMEMOREINFORMATION                           MYWEBSITE
  </code></pre>
  
  <p>I replace those markers with the correct value. So that it would look like this:</p>
  
  <pre><code>Mr.  
  John Doe                   
  Downingstreet 10           14th May, 2010
  john@doe.com                                  www.stackoverflow.com
  </code></pre>
  
  <p>In this example, when I replace the values, the indention of the date is dependent on the length of the street name (which I don't want). I could solve this issue with str_pad but the problem is, I normally use three columns and there are lines which only have content in col1 and col3 as in the last line. How can I solve that problem? Is there something like the "overwrite" function in Word, that when you write, the text just gets overwritten?</p>
  
  <p>Thanks in advance.</p>