House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

Okay, now I *know* I saw this code on here

Author:
cf-talk
05/16/2003 10:09 PM

You mean something like this perhaps? ReplaceNoCase(originalString, matchString, "<span style='background:yellow'>#matchString#</span>", "ALL") -Novak > Once upon a week or so ago, a discussion was going on, I believe about some sort of search mechanism, and buried among the discussion was a throwaway statement, something to the effect of, "and you could even do this to highlight the search string in the body of output text:"...then some nifty code...and now darn it, I go and end up needin to see how to do *just* that very thing, and now I can't find it, lol, I've gone thru like, the last week of posts and my eyeballs are dry...does anyone happen to remember that, or better yet, have a general idea how to approach that? I kinda have an idea, but it's not working, and I actually got the inspiration from that thread...only I can't remember where it was...I see it every now and then, your phrase is styled with a red background for the phrase maybe, of what your query string was. I also thought it'd be a nifty debugging tool... >


Search cf-talk

May 20, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference