How to check if an element of an array element is equal to "A"

Please Help !!!

Yes, that is a way. If you just need to know if that’s true (any element contains “A”), you should use a For with Break, and wire the True output to the Break pin.

1 Like

I think there’s also a CONTAINS node, isn’t there?..

Thanks :rose:

Thanks

There is a more easy setup for that.

You can simply use the “Find” Node.

So, if you try to find “A”, the Find Node returns the correct Index of the “A” OR it returns -1.

So, a Find node, asked if its return is != -1 and than just use the index.

No need to iterate by yourself.

1 Like

That’s what I meant… :slight_smile:

2 Likes