String contains not working

Hello, I clearly have this string in this list but why cant my node find it?

Could you try a string from object node after the list you’re searching as well?

Try List.Clean without preserving indices before the String.Contains node; maybe you have some nulls that are causing it to fail

I found out the problem. My list.allindicies node from OOTB dynamo doesnt work with the boolean value or even as a “true” string. I have no Idea why, it doesnt work, but I switched it out for for the same node from the Rhythm package. now it works.

I believe the OOTB List.AllIndicesOf node was failing because the String.Contains output has nulls in it

1 Like