this may help some.. the orgs string array is just meant to simulate input..
Code:
String[] orgs= {"This is a string",
"This is a string2",
"this is another string",
"and another"};
///----------
char[][] mdArray = new char[orgs.length][];
for(int i=0; i<orgs.length; ++i)
mdArray[i] = orgs[i].toCharArray();
///-----------
for(int i=0; i<mdArray.length; ++i)
for(int j=0; j<mdArray[i].length; ++j)
System.out.println("["+i+"]["+j+"] == " + mdArray[i][j]);
this is pretty common in ajva.. i think the term for this sort of array is 'jagged edge array'..
id reccommend you should check out the containers that java provides such as arraylist.. that would give much more flexibility..