What is the simplest way to determine if an element in an array contains a particular value?
I have tried the following without success (Always returns "No!"):
split("SMTP,smtp,X400,x400,X500,x500,MS,ms,RFAX,rfax,CCMAIL,ccmail",ValidTypes)
variable = "X400"
if (variable in ValidTypes) {...