title: Left pad a string with tabs using sprintf
body: <p>I know that <code>sprintf()</code> allows to format string. How can I insert special character(tab in my case)?</p>
  <p>10 tab chars(&quot;\t&quot;) after that symbol s.</p>
  <p><strong>Like this:</strong></p>
  <pre><code>sprintf(&quot;%'\t's&quot;,&quot;str&quot;) = &quot;*morespices*str&quot;
  </code></pre>
  <p><strong>This work:</strong>:</p>
  <pre><code>sprintf(&quot;%'a10s&quot;,&quot;str&quot;) = &quot;aaaaaaastr&quot;
  sprintf(&quot;%' 10s&quot;,&quot;str&quot;) = &quot;       str&quot;
  </code></pre>