How to use string from elementType.Name instead of Code Block?

Hi everyone,

Is there a way that i dont have to manualy input for “searchFor” in String.Contains node?

for single values you can use operators

x != "a"
x == "a"

The issue you’re running into is due to your list structure. As you can see in your screenshot, the warning is coming from the Filter node, not the String.Contains node. This is because you’re providing nested lists. Try reducing the serachFor input to a single item.

1 Like