Split String into Array with No Delimiter <p>I have a string like <code>s = "abcdefgh"</code>. I want to split it by number of characters like:</p> <pre><code>a(0)="ab" a(1)="cd" a(2)="ef" a(3)="gh" </code></pre> <p>Can someone tell me how to do this?</p>