I have a list of the words that I'm matching against the displayed string. In the stars, matching words can be found on their own First of all, the best way to find Second, am I trying to insert any tag as a string in the displayed content? How do i do this I think you are looking for: See links for more options. & lt; B & gt; should be placed in the tag
gsub is to place it in Ruby? I do not need full RJX power, just by matching.
Highlight ( 'You searched: Rail', 'Rail') # = & gt; You searched for: & lt; Strong class = "highlight" & gt; Rail & lt; / Strong>
Comments
Post a Comment