- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 18# wufonna - Option Explicit
- Sub test()
- Dim a As String, b As String, c As String, d As String
- Dim AR As Variant, i As Integer, S(1 To 2) As Integer
- a = "<img src=""http://l.yimg.com/ud/hp_editor/tw/13/09/12/15/130asf302-190c8a5.jpg"" alt=""Video ¹Ï¤ù"" width=160 height=115><br>"
- b = "<img src=""http://l.yimg.com/ud/hp_editor/tw/13/09/12/15/asf912151302190c8a35.jpg"" ></p>"
- c = "<img src=""http://l.yimg.com/ud/hp_editor/tw/13/09/12/15/130f302-19c8a35.jpg"" alt=""Video ¹Ï¤ù"" height=115><br />"
- d = "<img width=160 height=115 src=http://l.yimg.com/ud/hp_editor/tw/13/09/12/15/13092151302190c8a35.jpg ></a>"
- AR = Array(a, b, c, d)
- For i = 0 To UBound(AR)
- S(1) = InStr(AR(i), "http://")
- S(2) = InStr(AR(i), "jpg") + 3
- AR(i) = Mid(AR(i), S(1), S(2) - S(1))
- Next
- MsgBox Join(AR, vbLf)
- End Sub
½Æ»s¥N½X |
|