Error in list.contains (multiple values search)

i am checking a list on 3 values.. start and end work perfectly, end is found on 8 and 12. i only have 1 start in the list. but the mid is only found the first time and the rest gives me a false.
WHY?

You have the string contains node set up in correctly, i would set it up as in this image

problem i have multiple lists i want to check and want to keep the lists.. so your list shuffle would be like three lists.. and i want to keep the list structure

Ignore everything to the left of the “List.Shuffle” node as i did that to try and create a list that matched your list.

List.Shuffle shows you the structure of the list before it goes into the contains node.

Look at the cross product setting on contains node and then the use level on any true to reduce the list to match the other list.

may be is this you want to achieve?

List contain.dyn (9.1 KB)

the code block will be multiple lists

list1
list2
list3

then in all three list we need to find the three texts and we need the output to still be in the three seperate lists..

but i can’t get the leveling correct for your solution

I am a tiny bit confused? Can or do you have other text is the Sublists?

Sometimes is easiest to make an example of your desired outcome instead
letting people guess :grinning_face_with_smiling_eyes:

in my last screenshot you see element name.. these are three list containing a lot of words.. could be panel, glass, column, but also start middle or end..
i need allindecesof or a boolean with stringcontains. but the outcome needs to be those three lists again.
i thought i was clear my apologies

These are both of your options, and it mainly comes down to understanding lists and levels, plus the lacing.

Red is option 1
Orange is option 2

thank you so much… leveling keeps being a pain in the @ss