How to compare a list of lists items with a list of lists?

Hello guys , I want to compare a list of lists items with a list of lists ?

Somebody cand help?

can you give an example? what are you trying to compare

I used
image

but i doñt get any value

  1. change typeArgument = list(of string)
  2. change
    item
    to
    String.Join(",", item)

What i want is after the comparation of list 1 with list 2 the result should be the list1 only with the items of list 2 :blush:

1 Like

if list1 = {a,b,c} , list2 = {b,c}

whats your result ?
{b,c}
or
{a}???

use this example @florin.sidor
it will compare lista_test and lista_test2 and output resultList
Excercise.xaml (14.1 KB)

Example:
lista_test=
new List(Of list(of string))({New List(Of String)({"a", "b", "c"}), New List(Of String)({"x", "y", "z"})})

lista_test2=
new List(Of list(of string))({New List(Of String)({"a", "b", "c"}), New List(Of String)({"j", "k", "l"})})

resultList=
image

@florin.sidor
you can download this instead
Compare list of list and return result.xaml (13.6 KB)

just use it in your own sequence , pass in your 2 list of lists and it will output resultList

1 Like

thank you so much for the help!

happy coding! :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.