how i get 2 dimentional array responseby split s string
<p>How to split <code>String</code> and get 2 dimentional <code>Array</code> result.<br>
I want my answer in [ ][ ]Array.<br>
How do I split single <code>String</code> message and get result in [ ][ ]Array</p>

<pre><code>public static String[][] SMSAgAppXMLParser( String parUrl) 
{
    String [][] xmlRespone=null;
    String[] parts;
    parts = parUrl.split("\n");
    xmlRespone = new String[ parts.length/2 ][2];

    for (int j=0,  i = 0;  i &lt; parts.length-1+2; ) {
        xmlRespone[j][0] =  parts[i];
        xmlRespone[j][1] = parts[i+1];
        j++;

    }
return xmlRespone;      
}
</code></pre>
