what's the best way to check whether a given variable is any of values within a list? For example, I want to say this:
cond="myvar In('a','b','c')"
or
cond="mylist.contain(myvar)"
what's the best way to check whether a given variable is any of values within a list? For example, I want to say this:
cond="myvar In('a','b','c')"
or
cond="mylist.contain(myvar)"