I've been searching for a way to search a list to see if it contains say (Lock) in such a list like (Nut, Bolt, Locking)
I've tried using in all it's form but no luck.
Any ideas?
Thanks in advance. Ric
I've been searching for a way to search a list to see if it contains say (Lock) in such a list like (Nut, Bolt, Locking)
I've tried using in all it's form but no luck.
Any ideas?
Thanks in advance. Ric
Use for each item in list and test each item for contains
If you have a list of lists, you may need to "for each" the inner list and test
Alternatively use the is in list block" from lists palette
Thanks for pointing me in the direction. I am using this, but unless it a exact match it returns false.
with the for each, do you mean this block? Not sure how I can get it to work.
Bingo That worked. Turns out I was not adding the get item. Makes way more sense now that I see it.
Thanks @dora_paz and @TIMAI2
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.