This is true, as I said, it returns the FIRST element found to match.

If you do listFind or listFindNoCase, you have to match the ENTIRE element to return a hit (looking for "foo", will not be found in list "food,foobar").

The FORM.redirect (as indicated) is only a portion of the list element, so you have to used ListContains[noCase] to get a match.

>listContains? Don't forget that listContains returns true on partial
>matches, ie, your list is
>
>jedimaster,foo
>
>and you do a listContains search on jedi, it will match item 1, which is
>NOT what you want. You would want listFind or listFindNoCase.
>
>http://www.camdenfamily.com/morpheus/blog/index.cfm?mode=entry&entry=23
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to