Hello community!
I'm working on a script and at some point it has to get me a layer according to some parts of the layer's name.
I know the way to find the exact name with the line:
layers.byName("name")
But in case I have a layer with a name like "target 1 - control" , how do I find the layer assunimg the name has the words "target" and "control" ?
TIA