Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Window Text
#4
QM can load html document to string

I was wrong about find. (if found, F is >=0)

Code:
Copy      Help
str E("findme") M      ;;;;; 'E("findme")' is equal to ' str E="findme" '
str T
int F

HtmlDoc HD.SetOptions(2)
HD.InitFromWeb(" 'html address you want to get' ")
T=HD.GetHtml

F = find(T E)               ;;;;; find('target' 'what you want to find')
if !(F<0)                      ;;;;; if found, F is >=0
   M.format("text %s found" E)
   out M


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)