[fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)
md at delfire.net
Mon Nov 1 17:59:33 CET 2010
On Mon, Nov 1, 2010 at 1:21 PM, Martin Schreiber <mse00000 at gmail.com> wrote:
> On Monday, 1. November 2010 13.34:45 Marcos Douglas wrote:
>> On Mon, Nov 1, 2010 at 9:34 AM, Alberto Narduzzi
>> <albertonarduzzi at yahoo.com> wrote:
>> >> Somebody can help me please?
>> >> I need to search strings in Text files using just FPC.
>> > how about reading every line and then using Pos() to see if some string
>> > is there?
>> I don't think this way is the fast way :(
>> I have many PDF files with several pages each.
> MSEgui ttextstream has search functions (lib/common/kernel/msestream.pas), I
Thanks Martin, I will see this file.
> don't know if it is fast enough for your purpose.
I suppose your implementation always is fast enough ;)
More information about the fpc-pascal