Re: Retrieving word and sourounding text

2003-04-02 Thread Wiggins d'Anconia
[EMAIL PROTECTED] wrote: $word = "seminary"; I am trying to retrieve a word, and the surrounding text in a file. For example, read through a file for $word, and when matched, place in a variable the matching word, along with the 10 words preceding it and trailing it, and have it work over multi

RE: Retrieving word and sourounding text

2003-04-02 Thread David Olbersen
Court San Diego, CA 92127 1-858-676-2277 x2152 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2003 11:42 AM > To: [EMAIL PROTECTED] > Subject: Retrieving word and sourounding text > > > > $word = "s

Retrieving word and sourounding text

2003-04-02 Thread Jimstone77
$word = "seminary"; I am trying to retrieve a word, and the surrounding text in a file. For example, read through a file for $word, and when matched, place in a variable the matching word, along with the 10 words preceding it and trailing it, and have it work over multiple lines. Is there an