Re: search


Posted by mnemo on November 14, 2000 at 22:01:52:

In Reply to: search posted by psmith on November 14, 2000 at 16:09:55:

: How to search for some string in a html-file

sl := TStringList.Create;
sl.LoadFromFile('myfile.html');
if Pos('hello', sl.Text)<>0 then
ShowMessage('hello does exist in this file!');
sl.Free;


Related Articles and Replies: