[Zope] How to know if a list contains a specified item ?

Oleg Broytmann phd@phd.russ.ru
Wed, 7 Jun 2000 16:46:23 +0000 (GMT)


Hi!

On Wed, 7 Jun 2000, QUIN Frédéric wrote:
> I would like to know if there is a function which allows to know if a list
> contains a specified item.

   Learn Python!

   <!--#if "myitem in mylist"-->
      ...

Oleg.            (All opinions are mine and not of my employer)
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd@phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.