Hi I want to convert a stringbuilder to a matrix.
sb.Append("1,1,2,2,0,0,a,b,c,d,1,1,2,2,0,1,e,f,g,h,1,1,2,2,0,1,x,y,x,z");

The expected matrix is
Code:
1,1,2,2,0,0,a,b,c,d
1,1,2,2,0,1,e,f,g,h
1,1,2,2,0,1,x,y,x,z
Suppose the matrix has k rows, here k=3.
Thanks for help.