'Below using a list of individual 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
MyList.Clear
'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 objItem2() As String In MyList
b4xs.Add(objItem2(0) & "," & objItem2(1) & "," & objItem2(2))
Next
Log(b4xs.aslist.Size) 'displays: 4 !
For i = 0 To b4xs.Size -1
Log(b4xs.AsList.Get(i))
Next