Customer Center

Welcome back

My Account Logout
#4695

A word about the above. I don’t use arrays all that often except as the result of a Split – which I use ALOT.
The only reason I used a second array was so I could use Join to create a string from it.
I learned though that to add an item to an array, you have to create a place for the new item.
To do this you use the ReDim Preserve command, here is the code I used:
ReDim Preserve tc(k)
tc(k) = t(i)
Yeah I like small variable names 🙂 TC is the array, K is a counter, t is the array created by the split command. The short names make sense to me, and I am the only one ever to read this code 🙂