I have a two dimensional Array which is filled row by row. I got like ~200 entries. This is variable but also duplicates are filled.
How can i remove those duplicates? Or even check if the entries already exist in the Array and skip that duplicate entry?
for each oSingleNode in oNodeList
if oSingleNode.xml <> "" Then
Set oNode = oSingleNode.selectSingleNode("j.8:entity-reference")
if not oNode is nothing then
s = oNode.getAttribute("rdf:resource")
a = Split(s, "/")
attribute = a(ubound (a)-1)
Set oNodeTwo = oSingleNode.selectSingleNode("j.8:entity-label")
if not oNodeTwo is nothing then
label = oNodeTwo.text
array(rowIndex,index) = attribute
array(rowIndex,constClm)= label
debug2File array(rowIndex,index) & " " & array (rowIndex, constClm)
End if
End if
End If