10-01-2005, 02:53 AM
Somehow, if the web page contains Chinese, I could not get the text...
say:
str s; int i; int j
Htm el1=htm("BODY" "" "" " Internet Explorer" 0 0 0x20)
str s1=el1.HTML
out s1
j=find(s1 "boss7.gif")
if j>=0
,out "Boss found"
else
,out "Boss not found"
I used the tool to get the html link and it can be tested in the tool. However, when I run it, I got nothing in string s1...when I print it, it has nothing :-(
is there a way to do it?
Thanks.
say:
str s; int i; int j
Htm el1=htm("BODY" "" "" " Internet Explorer" 0 0 0x20)
str s1=el1.HTML
out s1
j=find(s1 "boss7.gif")
if j>=0
,out "Boss found"
else
,out "Boss not found"
I used the tool to get the html link and it can be tested in the tool. However, when I run it, I got nothing in string s1...when I print it, it has nothing :-(
is there a way to do it?
Thanks.