10-08-2019 01:19 PM
I want to execute a number of tests in my sequence "if" the value of one of one of my locals is not equal to any string from a list(array) of strings. I have tried this but it doesn't work. Can anyone help?
Locals.ECU_Config_ECU_Info.ECU != ("CGW","CGW(7DF)","SimCGW","EthCGW","DASy","SVC3","MCS2")
Thanks
Solved! Go to Solution.
10-08-2019 01:37 PM
Try the Contains() function.
Contains({"CGW","CGW(7DF)","SimCGW","EthCGW","DASy","SVC3","MCS2"},Locals.ECU_Config_ECU_Info.ECU)
10-09-2019 03:59 PM
This worked perfectly. I could not find mark as solution unfortunately, so I gave Kudos instead.
Thanks
10-10-2019 05:56 AM
@jkerrigan12 wrote:
I could not find mark as solution unfortunately, so I gave Kudos instead.
That is because you are not the OP. Do you use multiple accounts?