I have a search engine. When i search for a words I am making also found words bold.. but, i don't want all row to be shown when i print the results like:
1 result:
Some tutorial - blah blah blah <b>search</b> blah blah...
I don't want all the blah's to be shown just only some before and after <b>search</b> (not that ones that are the closest).
Let's say i would like to keep 50 chars right before and 50 chars right behind the search word...
How to do that?
Thank you for your answers..
LORDGreg