取得標記中的字符,常用與網頁代碼中,取得特定標志里面的字符
Function GetInstr(str As String ,c1 As String ,c2 As String ) As String '
Local f1,f2 As Long
f1=Instr(str,c1)
f2=Instr(str,c2)
If f1>0 And f2>f1 Then
Function=Mid$(str,f1+Len(c1),f2-f1-Len(c1))
Else
Function=""
End If
End Function