Switch statement - contains

If you want to use contains you will have to change the whole condition to add outputs and then check the outputs.
Like Uthraa said contains takes a argument varPO_Sector1.ToString.Contains(“Machinery”) for example

See the below if this helps as it fits your use-case :slight_smile:

3 Likes