I am looping the data in string input argument Var1 which has value (“Z22.21, Z3.7, Z1.1, Z8.0”) and i want to get all values starts with Z except Z1.1 & Z8.0. I want to exclude the values Z1.1 & Z8.0. I tried below IF condition but it didnt work. Can someone suggest how to use the condition?
If (currentItem.Contains(“Z”) And currentItem <> “Z1.1” And currentItem <> “Z8.0”)