Re: Re: Re: search
Posted by psmith on November 15, 2000 at 13:02:11:
In Reply to: Re: Re: search posted by psmith on November 15, 2000 at 10:29:34:
: : : 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; : Thank you very much! but there are some questions now. such as: if you search for such as '>' or '<'(just a tag in html format) the result will report ture,but it isn't the one i want to search for.
and another question is if i want to search for more than two words in an html file,how can i do? can you help me again?
Related Articles and Replies:
|