Search text in textfile

Post Reply
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Search text in textfile

Post by Marc Vanzegbroeck »

Hi,

I need to seach a string in more then 10000 text-files.
If exist, I have to add the file-name into a database.

What is the fastest way to search a string in a text-file?
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Search text in textfile

Post by Enrico Maria Giordano »

Code: Select all

At( <cSearch>, <cString>, [<nStart>], [<nEnd>] ) --> nPos
Please note: for best result you have to use nPos and update nStart accordingly.

EMG
Post Reply