How to find the string wont contain particular string

how to find the string wont contain particular string inside it then only continue
what’s the logic for this.

Hi @meeraa,

You could try this in an If statement:

Not YourVar.Contains("Particular String")

Edit: Example if statement:

1 Like

Maybe you are in a hurry, but we would also appreciate it if you close answered topics.
Forum FAQ - How to mark a post as a solution - News / Tutorials - UiPath Community Forum

We do see the list and also that very quickly new topics are opened.

Thanks for support

2 Likes

Hi @ppr,

if I got suitable answer which I am looking for I will defiantly close it.

As like the above answer.

Thank you
Meeraa

1 Like

@meeraa Use can use the below exp

Variable of type Boolean Output = System.Text.RegularExpressions.Regex.IsMatch(Input, "UiPath")
  • Input is the variable that contains actual string data
  • UiPath is the string that I am trying to find in the Input variable
  • It returns true if it finds the string UiPath in the Input variable, else returns false
1 Like

Hi @meeraa,

Echoing what @ppr has said, it is important that you mark the helpful response as a solution to assist others should they have the same issue as you :slight_smile:

1 Like

@meeraa,

Have you got a solution for your problem? I see you haven’t closed the topic as yet.

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