A
Armand
Hi Guys,
I have a set of array that I would like to clear and empty out.
Since I am using "Array" not "ArrayList", I have been struggling in
finding the solution which is a simple prob for those who experience.
(For some reason I have to implement Array not ArrayLists)
Below are the simple following code:
Dim Array() As String
Dim intCounter As Integer
Array = strRESP.Split(",") ' <-- insert value which is comma
deliminated
............ ' It has been working then I would like to clear the array
............
For intCounter = 0 To Array.Length - 1
Array.Clear(intCounter) ' <-- This doesn't work out
'Array(intCounter).Clear() <-- This method doesn't work
either
Next
Do you guys have any solution/ recommendation to clear those array
lists?
I really appreciate all of your input.
I have a set of array that I would like to clear and empty out.
Since I am using "Array" not "ArrayList", I have been struggling in
finding the solution which is a simple prob for those who experience.
(For some reason I have to implement Array not ArrayLists)
Below are the simple following code:
Dim Array() As String
Dim intCounter As Integer
Array = strRESP.Split(",") ' <-- insert value which is comma
deliminated
............ ' It has been working then I would like to clear the array
............
For intCounter = 0 To Array.Length - 1
Array.Clear(intCounter) ' <-- This doesn't work out
'Array(intCounter).Clear() <-- This method doesn't work
either
Next
Do you guys have any solution/ recommendation to clear those array
lists?
I really appreciate all of your input.