May 26, 2018

Text::Context::EitherSide - Get n words either side of search keywords

Suppose you have a large piece of text - typically, say, a web page or a mail message. And now suppose you’ve done some kind of full-text search on that text for a bunch of keywords, and you want to display the context in which you found the keywords inside the body of the text.

WWW http//