By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,718 Members | 1,438 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,718 IT Pros & Developers. It's quick & easy.

How to return a string with 5 previous words and 5 after words

P: n/a
hello friends !

i have a database full of articles. I want to search that database with
i expect this database to send me back a list of articles containing the
search string(s).
i would like to display the result like google does: the searchstring
highlighted within its context sentence (about 20 characters before, and 20
characters after the searchstring).

I'm wondering how to return the contextual sentence.

any idea?

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.