Hi All,
I am new to ui path and I have a qustion like how to compare 2 Csv files row by row, like I need to compare 1st file 1st row with 2nd file 1st row only (i don’t want to compare 1st file 1st row with all rows of 2nd file). Thanks
Hi, @jdommaraju
Welcome to UiPath Forum.
At first, you need to read CSV file to datatable, and use if activity to compare them.
Sample compare condition:
string.join(“,”,dtCSV1.Rows(0).itemArray) = string.join(“,”,dtCSV2.Rows(0).itemArray)
Please refer at below sample project:
CompareCSV.zip (13.0 KB)
1 Like
Thank you very much, I will try this.