Comparing list of strings with one property in list of objects

I have a list of strings A, B, C that I want to compare against a list of objects where one of the properties have these same values.

Any good ideas of how to do this? How can I easily get just a list of the same string elements fron this list of objects for instance? Then I can compare two lists directly. I don’t need the other data in the objects for this operations result.

Hello @Egil_Helland!

To obtain a list consisting of object properties, you can utilize the Map block:

It will return a new list that contains the strings:
image

As for the second part of your question, could you please provide more specifics?
Are you aiming to compare two lists to verify if they are entirely identical or to find common elements?

Regards,
Alexander

Thanks @Alexander_Pavelko - this pointed me in the right direction!

1 Like

I’m glad I could be of help! Don’t hesitate to ask if you have any more questions.

Regards,
Alexander