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
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
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
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.