What is the best way to clear an array of strings?
Here's a simple call that I use to clear the contents of a string array:
Public Sub ClearArray(ByRef StrArray As String()) For iK As Int16 = 0 To StrArray.Length - 1 StrArray(iK) = "" Next End Sub
Then just call it with:
ClearArray(myLocalArray)