static String _indexof = "${indexof;<value>;<list>[;<list>...]}";
public int _indexof(String args[]) throws Exception {
verifyCommand(args, _indexof, null, 3, Integer.MAX_VALUE);
String value = args[1];
ExtList<String> list = toList(args, 2, args.length);
return list.indexOf(value);
}