Conditional statements in a string


#1

Hello all,

i am in need of some assistance again. I need to filter l elements, where the value of the “Mark” parameter contains contains either “P” OR “W” (red circle below). Does anyone know how i can accomplish this?

 


#2

The design script for boolean “or” is “||” you can dump it in a codeblock.

There might be a more elegant solution but this has worked well for me:


#3

I see what you did there. Worked like a charm. Thank you!!


#4