Spliting to 2D array
<p>How I can split a string into 2D array. String is like</p>

<pre><code>1c2c3r4c5c6r6c8c9
</code></pre>

<p>array shld be like</p>

<pre><code>[[1,2,3],
[4,5,6],
[7,8,9]]
</code></pre>
