|
test$ = httpget$("http://www.dailymail.co.uk/home/index.html") aPos = instr(test$, "<body") bPos = instr(test$, "</body>") aFile$ = mid$(test$, aPos, bPos - aPos) aFile$ = lower$(aFile$) toFind$ = "james" aCnt = 0 i = 0 do i = instr(aFile$, toFind$, i+1) if i then if trim$(mid$(aFile$, i-1, len(toFind$)+2)) = toFind$ then aCnt += 1 end if end if loop until i = 0 notice aCnt end 'include lb45func.bas
|
|