I know i could do this with a couple of loop but is there any function that can merge multiple arrays into one
Printable View
I know i could do this with a couple of loop but is there any function that can merge multiple arrays into one
Yes. But most merge algorithms - to be worth anything-
are more than a couple of loops.
If you can read C, this guy has a bunch of really good code examples for sort & merge stuff.
http://www.efgh.com/software/
Might get something like this to work:
VB Code:
arrNew = split(join(arrOne,vbcrlf) & vbcrlf & join(arrTwo,vbcrlf), vbcrlf)