You need to sign in to do that
Don't have an account?

one dimaensional string array to multi-dimensional array in apex
Hi,
i am having 1*1 dimensional array like this
{1,2,3,4
5,6,7,8
9,10,11,12}
i need multi dimensional array(4* 4 matrix) by spliiting (,) like this:
{1 2 3 4
5 6 7 8
9 10 11 12}
Any help appreciated..
i am having 1*1 dimensional array like this
{1,2,3,4
5,6,7,8
9,10,11,12}
i need multi dimensional array(4* 4 matrix) by spliiting (,) like this:
{1 2 3 4
5 6 7 8
9 10 11 12}
Any help appreciated..
You can use List of Lists. Important :
If this is what you were looking for then please mark it as a "SOLUTION" or You can Click on the "Like" Button if this was beneficial for you.