Re: Checking whether an element ist NOT part of a list.

> Hello,
> 
> it may sound funny, but I would like to check whether an element is not
> part of list.
> But there exist no list:notIn in CWM.
> Does anybody has an idea how to check whether an element is not part of
> a list?

The attached file does just that. I agree, it would be much simpler to 
simply create the builtin. I'll add that to my toDo list.

The way to use the NotIn function in the file is you add the triple 
(element list) of the list you want to test if its in the element. That 
gets the rules to run. Then you can test if element :NotIn list.

I have to run to class now.


Yosi

Received on Thursday, 3 March 2005 17:59:41 UTC