Re: File pointer to be positioned at the last occurance of a keywo
- From: "kd" <kd@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Apr 2005 07:01:01 -0700
Hi Herfried,
Thanks for your reply.
Is there a work-around for this situation without having to read line-by-line?
Regards,
kd.
"kd" wrote:
> Hi,
>
> I don't think that, reading the text file, line by line and checking for the
> keyword is a good idea, because, the file is large and the keyword occurs
> several times in the file. I need to only process the data that occurs after
> the last occurance of the keyword in the file.
>
> Regards,
> kd
>
> "Herfried K. Wagner [MVP]" wrote:
>
> > "kd" <kd@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb:
> > > I have a .txt file, in which I have to look for the last occurance of a
> > > keyword, and process contents of the file from that point onwards.
> >
> > Reading a text file line-by-line or blockwise with a progress indicator
> > <URL:http://dotnet.mvps.org/dotnet/faqs/?id=readfile&lang=en>
> >
> > --
> > M S Herfried K. Wagner
> > M V P <URL:http://dotnet.mvps.org/>
> > V B <URL:http://classicvb.org/petition/>
> >
.
- References:
- File pointer to be positioned at the last occurance of a keyword
- From: kd
- Re: File pointer to be positioned at the last occurance of a keyword
- From: Herfried K. Wagner [MVP]
- Re: File pointer to be positioned at the last occurance of a keywo
- From: kd
- File pointer to be positioned at the last occurance of a keyword
- Prev by Date: Re: Deserialization version mismatch
- Next by Date: Reading Dataset Value
- Previous by thread: Re: File pointer to be positioned at the last occurance of a keywo
- Next by thread: Re: File pointer to be positioned at the last occurance of a keywo
- Index(es):
Relevant Pages
|