i want to show the result in row wise
<p>Bellow is my code, which give 2D array response. I want to show my result in this manner. 
This is the code which I used. Someone helped me here but is shows all results in 2 rows.
34r and 4th row is null. How to print each value in single line like [1][1]=sucessfull     [3][1]  waseem akram  etc</p>

<pre><code>   my string msg is like this 
   [0][1]     00
   [1][1]     sucessfull
   [2][1]     12111
   [3][1]     waseem akram
   [4][1]     24000


public static String[][] SMSAgAppXMLParser( String parUrl) 
{
    int i=0;
    String [][] xmlRespone=null;
    String[] parts;
    parts = parUrl.split("\n");
    xmlRespone = new String[ parts.length ][2];
    int j=0,k=0;
    for (i = 0;i&lt;parts.length;) 
    {
        xmlRespone[j][k] =  parts[i];
        xmlRespone[j][++k] = parts[i+1];
        ++j;
        --k;
    }
return xmlRespone;      
}
</code></pre>
