"Ewok" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>... 
> something like this should work
> 
> <cfset Inthis = "Blah other blah...string is about 150 chars"> Was
> there a match? #YesNoFormat(ReFindNoCase("this|other|about", InThis))#
> 
> it will return the position of the first character of the first word
> it matches 
> 
> in your sentence "other" woud be found first "o" is at position 6 so
> it would return "yes" anything other than 0 is a positive return

Sorry, just one more; is it possible for it to return *which* item, if
any, that it found?  

Will

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to