"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

Great, thanks for that.  I thought a regex would do it, but I'm useless
at them - this one at least makes sense!  

Cheers

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

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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

Reply via email to