Hi forum. I have two arrays array1 = {1;2;2;3} array2

Hi forum.

I have two arrays

array1 = {1;2;2;3}
array2 = {A;B;C;D}

I'd like to remove the duplicates from array1, so I use the union function, namely union (array1,array1). Now we have

array1 = {1;2;2;3}
array2 = {A;B;C;D}
array3 = {1;2;3}

What would be the best way to associate the second value in array3 with B and C in array2? Any help would be greatly appreciated
...

OriginalPostID-86494

OriginalPostID-86494

  Discussion posts and replies are publicly visible