found search text - highlight and crop the result

11/18/2009 2:50 pmJason ByrnesWebAssist

That would be a much more complex bit of code.

you could explode the string into an array, then loop through the array to find the search phrase then show it along with the word before or after. A very quick sample of the code for that would look like: