03-09-2016, 03:01 PM
QM can load html document to string
I was wrong about find. (if found, F is >=0)
I was wrong about find. (if found, F is >=0)
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