The following snip works great for highlighting a single keyword or
multiple keyword strings which is/are returned in search results done in
Verity.  Problem is, in the simple search string, if I type "Mark OR
Foo" (no quotes), none of the words are highlighted (same problem if I
substitute AND and NOT).  Is there a way to change this statement so
that the word (or words) before and after the AND, OR, NOT are
hightlighted?
 
<cfset newSummary=#ReplaceNoCase(#sorted.title#,
"#Trim(form.criteria)#", "<span
CLASS=searchhl><b>#uCase(form.criteria)#</b></span>", "All")#>
 
Thanks,
Mark
 

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to