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]> wrote in message 3D090354.10687.A1E14E@localhost">news:3D090354.10687.A1E14E@localhost... > 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. Either in the Run dialog or from command > prompt) > > You may also want (or not) to look at regular expressions. > perldoc perlretut > > Jenda > =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== > There is a reason for living. There must be. I've seen it somewhere. > It's just that in the mess on my table ... and in my brain > I can't find it. > --- me > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
