;)=0strfrom=mid(strfrom,instr(1,strfrom,\" & ltTD >;)+4)if instr(1,strfrom,\" & lt/TD >;)& gt那麽0strtocount=strtocount+1red" />
當前位置:編程學習大全網 - 網站源碼 - 標記源代碼

標記源代碼

下面的代碼是提取兩個

Strfrom是源代碼。

Strto()'是輸出文本。

Strtocount是輸出字數。

直到instr(1,strfrom," & ltTD >;)=0

strfrom=mid(strfrom,instr(1,strfrom," & ltTD >;)+4)

if instr(1,strfrom," & lt/TD >;)& gt那麽0

strtocount=strtocount+1

redim將strto(1到strtocount)保留為字符串

strto(strtocount)=mid(strfrom,1,instr(1,strfrom," & lt/TD >;)& gt-1)

strfrom=mid(strfrom,instr(1,strfrom," & lt/TD >;)+5)

如果…就會結束

既然沒有vb系統,就沒有測試,原理是這樣的。

  • 上一篇:壹個常年不換微信頭像的人突然換了狗狗類頭像,為什麽?
  • 下一篇:【電子】vue CLI+電子方式的電子建造者
  • copyright 2024編程學習大全網