Instead kindly follow the below steps which is another method to handle this
Make sure you have two array variables named Array1 and Array2
Use a for each loop and pass the Array1 as input and change the type argument as string in for each loop activity and and change the variable name as item1 from item
Inside thisnfor each loop use another for each loop with input as Array2 and change the type argiment as string and change the variable name as item2 from item in the inner for each loop
–here use a if condition like this Item1.ToString.Contains(item2.ToString)
If thia condition gets passed it will go to THEN part of if condition where you can mention as “Matches” in write line activity… And make sure we use a break activity next to this write line activity inside the THEN part if condition to avoid xomparing even after the match is confirmed…
or
It will go to ELSE part of if condition where you can mention as “Doesn’t match”
Hope this would help you
And sorry for the inconveniences with many comments and typo mistakes