How do i use an array of strings with Find Substring?

Basically, I’m creating a list of bad words.

It would be really nice if I could use this array of bad words for the find substring node !

Thanks.

Hi,
I guess you could use the “Contains” node.

but isn’t “word” just one thing ? I want it to look at the whole of the array, not just one thing.

“Illegal words” is an array and “word” a single string. The contains node checks if “word” is one of the illegal words. Isnt that what you are looking for?

Im wanting this to work:

http://i.imgur.com/TIvf7M0.png

if your email address contains anything from my array of phrases then you cant continue.