Create a "Contains" conditional in grasshopper

Hi Comunity!
I have been struggling with this for a time so I’ll share my question with you.
How can we create a text conditional that sorts lists by the contention of a word or a peace of word.
For example, I need to sort these lists by the conditional (if contains “railings”, true , false)

Thanks!
image

Have lo looked into the MatchText component?
image

2 Likes

txt.gh (7.2 KB)
image

Apologies, I overlooked the part where you need a conditional after finding if the word or piece of word is contained…

Amazing Rene! I didn’t know the thing with the asterisks! TY this will work perfectly