how to show if condition now.item.array in output same value we required in uipath
Do you have examples of your input and array item that you want to match?
String.join(“,”,row.ItemArray).Contains(“NC”)
1 Like
Assuming you marking as solution you have figured it out?
Your row.itemArray - will only look at a row.
If you want to retrieve all rows which contain NC for example you can use the below:
Read the file into a datatable called dt
Assign
arrNC = ((From dr As DataRow In dt Where Convert.ToString(dr(“Document Code”)).Contains(“NC”) Select Convert.ToString(dr(“Document Code”))).ToArray())
You can then use string.Join(","c,arrNC)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.