Folks,
I have the following string:
1P,2G,3G,3ML,4L ,5LB,4P
Anybody know how I can easily seperate the letters and numbers in to
multi-dimension array so as I have something like
$myarray[0][0]="1";
$myarray[0][1]="P";
$myarray[1][0]="2";
$myarray[1][1]="G";
$myarray[2][0]="3";
$myarray[2][1]="G";
$myarray[3][0]="3";
$myarray[3][1]="ML";
$myarray[4][0]="4";
$myarray[4][1]="L";
$myarray[5][0]="5";
$myarray[5][1]="LB";
$myarray[6][0]="4";
$myarray[6][1]="P";
All help via newsgroup would be much appreciated...
Thanks,
Randell D.
Comment