Compare array string with string variable and display true or false

Tue or false.zip (2.6 KB)

Hi,

Here I want to compare and array string with string variable.

And display log if both string matching “True” else display “False”

Please find attached xaml file.

Thanks.

for harmonizing the different cases the condition in your if part should be changed to:
item = Inr.toUpper()

Checking all items on the presence of the Inr value we can also do it without for each as below:
grafik

Thank you solved.

find starter help here:

Or:
grafik
Currency.Any(Function (x) x.Equals(Inr.toUpper()))

Main.xaml (10.3 KB)

1 Like

Yes. Thank you solved.

maybe following will help in your if condition:
Currency.Trim().ToUpper.Equals(Inr.Trim().ToUpper())

however just debug your flow and analyze the details:
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum

Currency.Trim().ToUpper.Equals(Inr.Trim().ToUpper())

This condition worked thanks.

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