Splitting a string in javascript and storing in multidimentional array
<p>I have a string</p>

<pre><code>string s='2011/01/03 00:00:00,14.00|2011/01/03 00:00:00,14.50|2011/01/03 00:00:00",15.00|2011/01/02 00:00:00,12.00|';
</code></pre>

<p>I want to split the string first by '|' , which i can do by using </p>

<pre><code>var ds=[];
 ds=s.split('|');
</code></pre>

<p>i further want to split them by ',' and store in an array</p>

<p>The question is how do i store in a multidimention array so the output looks similar to this</p>

<pre><code>da[0]={'2011/01/03 00:00:00',14.00}
da[1]={'2011/01/03 00:00:00',14.50}
.
.
.
</code></pre>

<p>Thanks
Prady</p>
