AnsweredAssumed Answered

Remove items from list

Question asked by glorifindal on Apr 30, 2015
Latest reply on Apr 30, 2015 by erolst

Hi there,

I'm looking for a CF to remove the first instance of matching items in a list - items being based on another list

 

Example:

list1 = List( "a" ; "b" ; "c" ; "d" )

list2 = List( "a" ; "b" ; "a" ; "c" ; "c" ; "d" ; "e" )

result = List( "a" ; "c"; "e" )

 

The only items that should remain are items that are duplicated in list2 or do not exist in list1 ...

 

Does anyone know of a Custom Function that can achieve this?

 

Kindest regards

 

Glorifindal

Outcomes