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

0 votes
How can I check if a particular string exists in a datatable using UiPath?
Mar 18 in RPA by Ravi
939 views

1 answer to this question.

0 votes

Hi @Ravi, to check whether a string is present in a data table or not, you need to use ReadRange activity to read your excel file and store its output in a data table.Then use ForEachRow activity to read each row of the data table and use If activity to put the condition for matching the string. 
Use .Contains function to check whether the string is present or not. If the string is present, display the row of data table where its present using Message Box activity:

answered Mar 18 by Anvi
• 11,690 points

Related Questions In RPA

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,090 points
1,134 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,090 points
166 views
0 votes
4 answers

How to find the sum of 2 columns of an excel and display it in a 3rd column using UIPATH?

These are the steps to add two ...READ MORE

answered Aug 2 in RPA by Shivi Singhal
2,527 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,090 points
347 views
0 votes
1 answer

What is Get Jobs activity used for in UiPath Studio?

Hey @Rakesh, Get Jobs Activity can be ...READ MORE

answered Mar 13 in RPA by Abha
• 19,130 points
209 views
0 votes
1 answer

How to format text in notepad using UiPath?

Hey @Rashmi, if you want to automate ...READ MORE

answered Mar 18 in RPA by Anvi
• 11,690 points
719 views
+1 vote
1 answer

How can I display current date in "dd-MMM-yy" format in UiPath Studio?

Hi Shilpa, if you want to display ...READ MORE

answered Mar 18 in RPA by Pratibha
• 2,760 points
1,644 views
0 votes
1 answer

What is Flow Decision used for in UiPath studio?

Hi Smita, Flow Decision activity is a ...READ MORE

answered Mar 19 in RPA by Pratibha
• 2,760 points
674 views
0 votes
2 answers
+2 votes
1 answer

How to extract data from a website and save it to excel using UiPath?

Hi Piyush, if you want to extract ...READ MORE

answered Mar 8 in RPA by Anvi
• 11,690 points
2,451 views