Re: display a section of text

2002-06-14 Thread Janek Schleicher
Michael Pratt wrote at Fri, 14 Jun 2002 00:14:41 +0200: > Well that doesnt give me what I want. I want to search a text file for a Key word >then display > the contents to a second keyword. > > For example take the above paragraph and display just ' want to search a text file >for a Key word

Re: display a section of text

2002-06-13 Thread Jenda Krynicky
From: "Michael Pratt" <[EMAIL PROTECTED]> > Well that doesnt give me what I want. I want to search a text file > for a Key word then display the contents to a second keyword. > > For example take the above paragraph and display just ' want to search > a text file for a Key word ' thats it. I

Re: display a section of text

2002-06-13 Thread Michael Pratt
Well that doesnt give me what I want. I want to search a text file for a Key word then display the contents to a second keyword. For example take the above paragraph and display just ' want to search a text file for a Key word ' thats it. Thanks Mike "Jenda Krynicky" <[EMAIL PROTECTED]> wr

Re: display a section of text

2002-06-13 Thread Jenda Krynicky
From: Mike <[EMAIL PROTECTED]> > How can I scan a text file for a key word then display it down to a > second keyword. I know in VB the command is somthing like instr() If you want a direct counterpart of the VB's inStr() then it's index() perldoc -f index (This is supposed to be run.