how to check an arralist with individual Alphanumeric entries.
I want to search an arraylist of entries and if an entry is is there do not duplicate the entry and jsut move on. If the entry is new I want to add it to the arraylist.
If _ExcelGageID.startswith("L") then_ExcelArraylist.add(wirelessArray(1)end if
What kind of Object are stored in the ArrayList?
If not basic types such as integers, double, ... what is the object structure and what fields will determine equality?
Fernando Soto
Hi cmdolcet;
If using a basic data type such as integer then doing the following should do what you need.
Dim al As New ArrayList'' ...Dim itemToInset As Integer = 4If Not al.Contains(itemToInset) Then al.Add(itemToInset)End If
If not basic types such as integers, double, ... what is the object structure and what fields will determine equality?