How do you search an arraylist?
The code below skips the first value of the arraylist for some reason.
TokenNotLoaded = ArrayList that i'm trying to fill
Code:TokenNotLoaded.Sort() ''check to see if the token is already loaded into the array Dim idx As Integer = TokenNotLoaded.BinarySearch(sToken, New CaseInsensitiveComparer) If idx > 0 Then Else TokenNotLoaded.Add(tokenMatch.ToString) End If




Reply With Quote