I have a varying 2d array that I have to convert into a comma-separated list (pipe separated but that is not important). The range (number of rows) varies depending on the g