title: Python string formatting - limit string length, but trim string beginning
body: <p>I'm using Python standard logging module with custom formatter where I limit length of some fields. It uses standard <code>%</code> Python operator. </p>
  
  <p>I can apply limit for percent-formatted string like this (this limits length to 10 chars):</p>
  
  <pre><code>&gt;&gt;&gt; "%.10s" % "Lorem Ipsum"
  'Lorem Ipsu'
  </code></pre>
  
  <p>Is it possible to trim it from the beginning, so the output is <code>'orem Ipsum'</code> (<strong>without manipulating right-side argument</strong>)?</p>