[fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

Marcos Douglas md at delfire.net
Mon Nov 1 19:20:24 CET 2010


On Mon, Nov 1, 2010 at 3:10 PM, Marco van de Voort <marcov at stack.nl> wrote:
> In our previous episode, Marcos Douglas said:
>> <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.
>
> You'll be surprised. I've done multi million line logfiles that way. A
> pdf2txt is infinitely slow compared with such processing.

Ok, but I need to work with pure text. The PDF files are "compiled".

Marcos Douglas



More information about the fpc-pascal mailing list