How to test for an array membership? (415751)

I want to test for an array membership, thats what I tried so far : http://pastie.org/1002419

bump

The simplest way:

var names = Array("Tom", "Dick", "Harry");

if ("Tom" in names) Debug.Log("Tom found");