Re: Re: search string in a html file


Posted by psmith on November 17, 2000 at 08:14:57:

In Reply to: Re: search string in a html file posted by mnemo on November 16, 2000 at 19:59:09:

: : 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: