Alex,
Your problem is written in VB, However, here's the VFP version that works. I tried it with a 2x2 array.
*Setup an example
dimension strArray(2,2)
strArray(1,1) = "AAA"
strArray(1,2) = "BBB"
strArray(2,1) = "CCC"
strArray(2,2) = "DDD"
store 2 to endrow,endcol
*Run the Test
strOut = ""...