05-12-2008 12:05 PM
05-12-2008 12:09 PM
An array of strings will allow different length strings.
Generally when I am faced with a 2-d structure and the "recatangular" req of the 2-d array hurts, I'll try to restructure the data as an array of clusters and within the clusters, I can can place 1-d arrays.
I have absolutely no idea if that helps,
Ben
05-12-2008 12:11 PM - edited 05-12-2008 12:12 PM
05-12-2008 12:19 PM
smackheadj wrote:
For example if a 1D array of {1,2,3,4,5} is entered it would be outputted as a 2D array of [{1,2,0} {3,4,5}] is it possible to have the ouput as [{1,2} {3,4,5}] with different lengths?
05-12-2008 12:21 PM