Well, it isn't exactly the prettiest way to do it, but why not write two little functions that take the number of dimensions and the array as arguments and then join them into comma-delimited strings? One function would perform a series of joins one would perform a series of splits. Now that I think about it, you wouldn't be able to make it dynamic (sorry, to much .Net lately), but as long as you know the number of dimensions will always be x (3, 4, whatever) just write a set of for loops to join everything together one dimension at a time with differant delimiters for each dimension, then split it apart in reverse of how you joined it. It's messy but it should work.
-Tarwn
And for my next trick I'll see if I can go through yet another foreign country on my way between Maryland and Oregon
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.