| Subject: | ListFind and ListContains |
|---|---|
| From: | "Olivia Crazy Horse" |
| Date: | Tue, 16 Sep 2008 22:34:47 +0000 UTC |
| Newsgroups: | macromedia.coldfusion.cfml_general_discussion |
I have a string variable name "fieldName" and it output, "comments,other,active,sale". I want to find if 'other' is in this string, so I use <cfif #ListFind(fieldName,"other")> but it does not work. Does ListFind and/or ListContains actually find/search the variable for the desired output, or does it just find the first position and return true ? I need to find out if 'other' is in the string, and if it is, I need to do one thing, if not, then do something else. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Sr. Coldfusion Developer opportunity in Bay area, LKadden |
|---|---|
| Next by Date: | Re: ListFind and ListContains, Dan Bracuk |
| Previous by Thread: | Sr. Coldfusion Developer opportunity in Bay area, LKadden |
| Next by Thread: | Re: ListFind and ListContains, Dan Bracuk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |