B4X:
'Below using a list of individul items. It eliminates duplicates:
MyList.Add("1500,De 1x46,-2.5")
MyList.Add("1000,De 1x8,-4")
MyList.Add("500,De 1x32,-2.5")
MyList.Add("500,De 1x32,-2.5")
MyList.Add("2013,DE 1x17,27")
Dim b4xs As B4XSet = B4XCollections.CreateSet
For Each objItem As String In MyList
b4xs.Add(objItem)
Next
Log(b4xs.aslist.Size) 'displays: 4
B4X:
'Below using a list of arrays. Does not eliminate duplicates:
MyList.Add(Array As String(1500,"De 1x46",-2.5))
MyList.Add(Array As String(1000,"De 1x8",-4))
MyList.Add(Array As String(500,"De 1x32",-2.5))
MyList.Add(Array As String(500,"De 1x32",-2.5))
MyList.Add(Array As String(2013,"DE 1x17",27))
Dim b4xs As B4XSet = B4XCollections.CreateSet
For Each objItem() As String In MyList
b4xs.Add(objItem)
Next
Log(b4xs.aslist.Size) 'displays: 5