UiPath Syntax

Hi guys,
easy question for you:

I need a code that says sth. like "strOutPdf.ContrainsNot(“Müller” or “Schmitt” or “…”)

Can you help me with the synthax?

Here an example what is working with Contains “Schmitt”)

image

Thank you very much for your help!
Best Markus

Hi @Markus3003

Please try this

not strText.Contains(“Schmitt”) or not strText.Contains(“Müller”)

Thanks

Hi,

Hope the following helps you.

Regards,

@Yoichi

can you tell me what is wrong? thank you!

@prasath_S

I want to do sth.(sent an E-Mail) if none of the names can be found…

I tried this but ist not working so far…
Thank you!

Hi,

Can you share the error message?

Regards,

@ Please try with or instead of and

1 Like

Hi,

I found it. Can you modify Functions to Function?

Regards,

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.