Thank you very much for the answer.
I tried your code but it does not work properly 😕
I got the following problem:
If the string is extactly the same or of it is seperated by '/', it does work, .
But the code has to recognize the Url, if the Url just contains the library-Url-String.
In Excel one can write an asterisk like: if("cde"="*d*","Yes","No")
in this case i want the response "Yes", but your code deliveres for this case "No".
I realised this wasn't exactly formulated. Sorry for that.