/span>(x)</span>
<span id="cb19-6"><a href="#cb19-6" tabindex="-1"></a><span class="co">#&gt; [1] 1 2</span></span>
<span id="cb19-7"><a href="#cb19-7" tabindex="-1"></a><span class="fu">str_length</span>(x)</span>
<span id="cb19-8"><a href="#cb19-8" tabindex="-1"></a><span class="co">#&gt; [1] 1 2</span></span></code></pre></div>
</div>
<div id="str_pad-pad-a-string" class="section level2">
<h2><code>str_pad()</code>: Pad a string</h2>
<p>To pad a string to a certain width, use stringr’s
<code>str_pad()<