Split string into array of equal length strings
<p>I have a string that I need split into smaller strings with an equal length of 6. I tried using:</p>

<pre><code>'abcdefghijklmnopqrstuvwxyz'.split(/(.{6})/)
</code></pre>

<p>But it returns an array with empty strings like so:</p>

<pre><code>["", "abcdef", "", "ghijkl", "", "mnopqr", "", "stuvwx", ""]
</code></pre>

<p>I am terrible with regular expressions so I don't know what's wrong. Help appreciated.</p>
