Contains String issue

I have string variable which contains more than 2 lines .i have list of values in datatable.i want to check whether the string contains that any one of the value from datatable.
i have tried using for each loop in if condition :stringVar.contains(dtValue)
but its not working fine it will always goes into else part which means the stringVar does not contains that dtvalue. how to fix this?

Hi @sowmya,

Kindly check the example attached. I hope it helps you.

Main.xaml (6.3 KB)

Thank you Acacio Melo

1 Like