How to use Not contains function in string in UIPath?

0 votes

consider following variable.

strValue = “This is an exam”

I want to condition if “exam” is not contained in this variable then how to condition.

tried below approach but it did not work.

Not strValue.Contains(“exam”)
Jun 19, 2018 in RPA by Atul
• 5,530 points
394 views

1 answer to this question.

0 votes

use the following approach 

strValue = “This is Test”
var i = strValue.indexOf("Test");
if(i>0){
  console.log('Test is present in strValue');
}
answered Jun 19, 2018 by wrecker
• 3,110 points

Related Questions In RPA

0 votes
1 answer

How to use Switch activity on a string in UiPath?

Hi Apeksha, You need to change the type ...READ MORE

answered Nov 8, 2019 in RPA by Abha
• 27,720 points
346 views
0 votes
1 answer

How to select an item in UiPath that starts with a string

Just use a wildcard in selector. Given ...READ MORE

answered May 28, 2018 in RPA by wrecker
• 3,110 points
270 views
0 votes
1 answer

How to select an item in UiPath that starts with a string?

Just use a wildcard in selector. Given ...READ MORE

answered Jun 29, 2018 in RPA by wrecker
• 3,110 points
439 views
0 votes
1 answer

How to check if a string exists in datatable using UiPath?

Hi @Ravi, to check whether a string ...READ MORE

answered Mar 18, 2019 in RPA by Anvi
• 14,010 points
3,331 views
0 votes
1 answer

Clear a text box in uipath?

Use the activity Type Into and in the properties ...READ MORE

answered May 13, 2018 in RPA by wrecker
• 3,110 points
1,012 views
0 votes
1 answer

UiPath community edition

The link to renew the community edition ...READ MORE

answered May 30, 2018 in RPA by wrecker
• 3,110 points
1,557 views
0 votes
1 answer

Uipath string null

There are many different approaches and idea ...READ MORE

answered Jun 1, 2018 in RPA by wrecker
• 3,110 points
1,672 views
0 votes
0 answers

How to extract data from Multiple path alias for a url

How to extract data from Multiple path ...READ MORE

Jun 21, 2019 in RPA by Nipun
180 views
0 votes
1 answer

How to use Not contains function in string in UIPath?

you can use the following approach  strValue = ...READ MORE

answered May 16, 2018 in RPA by wrecker
• 3,110 points
2,606 views
0 votes
1 answer

How to select an item in UiPath that starts with a string

use a wildcard in selector. make sure that ...READ MORE

answered May 21, 2018 in RPA by wrecker
• 3,110 points
1,550 views