I'm wondering how to use a substring of a layer name as a condition for an if/else expression.
I want to verify that the layer above the layer with the expression, has a specific (part of a) name, and if so, it executes some code.
I have added an example. In the example it is only a single word, but I want to be able to apply it to for example "Text Column 1" in such a way that the code will be executed if "Text Column" is in the layer name.
I hope my question is clear and that there is someone who can help me.