You want ListFind()
:-)
- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 06, 2002 7:57 AM
Subject: RE: Sorry to flood the List BUT ListContains NOT functioning
properly!
> Isn't it because "
I think you may want to use ListFind instead. That will generate the
intended result, I believe. ListFind checks the entire list element
whereas ListContains looks at any part of a list element.
-Original Message-
From: Mark M. Kecko [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05,
Mark,
You want to use ListFind(), not ListContains() in your example below.
ListContains() is going to return a position for "site" since "site" is
contained in "siteMinute", "siteNews", "site" and "siteSpin". ListFind()
will only find matching values. ListContains() will return a match if
the st
The function (ListContains) is doing exactly what it's suppose to and I
can
see why it's returning 4.
ListContains: Returns the index of the first item that contains a
specified
substring. The search is case-sensitive. If the substring is not found
in
the list items, it returns zero (0).
He
Isn't it because "spin" IS contained in the list? in siteSpin?
Kathryn Butterly
Web Developer
Washington Mutual Finance
813 632-4490
[EMAIL PROTECTED]
-Original Message-
From: Mark M. Kecko [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 1:59 PM
To: CF-Talk
Subject: Sorry to f
5 matches
Mail list logo