22-degrees
Well-known member
I'm working with a large amount of csv data and I am utilizing string.split
The arrray to hold the values is created like so:
Once I have done what I need to with the values stored in tmpArray, I need to move on and split more data.
Is there a way I can re-use the tmpArray array in the same sub to store another batch of split data rather than creating another dynamic array?
This feels like a very noobish question but google search did not help me much so I think I am missing a keyword here..
The arrray to hold the values is created like so:
VB.NET:
Dim tmpArray() as string = readline.split(",")
Once I have done what I need to with the values stored in tmpArray, I need to move on and split more data.
Is there a way I can re-use the tmpArray array in the same sub to store another batch of split data rather than creating another dynamic array?
This feels like a very noobish question but google search did not help me much so I think I am missing a keyword here..