以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  怎么取到文本的第二行的第四到第八字符?  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=57441)

--  作者:ytday
--  发布时间:2014/9/24 23:45:00
--  怎么取到文本的第二行的第四到第八字符?

” Do Until web.ReadyState = 4
   Application.DoEvents
Loop
  
msgbox(web.Document.body.Innertext)  “

msgbox(web.Document.body.Innertext) 前要不要加
      Do Until IE.busy
          DoEvents               
      Loop      ?

还有要怎么取到文本的第二行的第四到第八字符?想做个判断,还有别的方法做判断?

--  作者:菲舍尔
--  发布时间:2014/9/25 2:21:00
--  

先用split取第二行,然后用substring取4至8字符

 


--  作者:Bin
--  发布时间:2014/9/25 8:34:00
--  
XX.split(vbcrlf)(1).substring(4,8)
--  作者:有点甜
--  发布时间:2014/9/25 9:06:00
--  
 具体的代码发上来,哪个网址,最后得到什么。