Re: search string in a html file


Posted by mnemo on November 16, 2000 at 19:59:09:

In Reply to: search string in a html file posted by psmith on November 16, 2000 at 13:01:48:

: how can i search strings in a html file except html tags?
: thank you very much!

loop through the string like this:

for k := 1 to Length(st) do
case st[k] of
'>': AddThem := TRUE;
'<': AddThem := FALSE;
else newSt := newSt + st[k];
end;


or something like that, I have to way to test it cause I have no Delphi compiler here atm. After this search newSt for your word.


/m


Related Articles and Replies: