Say, I have a multidimensional array named Array.
Array[0] = "apple", "banana", "cantaloupe", "date"
Array[1] = "asparagus", "broccoli", "carrot", "dandelion"
How would I make a new multidimensional array from this multidimensional array with all the 0's from say "apple" and "asparagus?"
Like I'd like my new array to look like this:
Array[0] = "apple", "asparagus"
Array[1] = "banana", "broccoli"
Array[2] = "cantaloupe", "carrot"
Array[3] = "date", "dandelion"
My brain seems dead right now. I can't think of a way to do it.
Thank you.