class="co"># &quot;both&quot; is not as straightforward</span></span>
<span id="cb20-7"><a href="#cb20-7" tabindex="-1"></a></span>
<span id="cb20-8"><a href="#cb20-8" tabindex="-1"></a><span class="co"># stringr</span></span>
<span id="cb20-9"><a href="#cb20-9" tabindex="-1"></a><span class="fu">rbind</span>(</span>
<span id="cb20-10"><a href="#cb20-10" tabindex="-1"></a>  <span class="fu">str_pad</span>(<span class="st">&quot;hadley&quot;</span>, <span class="dv">30</span>, <span class="st">&quot;left&quo