Splitting letters in string into mult. array
Posted: Tue Oct 28, 2003 6:57 pm
Say I have the following text
abcdefg
hijklmn
And I want to put it into a multidimensional array so that doing
would print out "b" (b is 2nd char in 1st row).
Anyone be able to point me in the right direction?
abcdefg
hijklmn
And I want to put it into a multidimensional array so that doing
Code: Select all
print $arrayName[1][2];Anyone be able to point me in the right direction?