汗~
Private Function GetStr(StrSource, StrBegin, StrEnd
As String)
As StringDim i
As IntegerDim OutTemp
As StringDim OutStr()
As StringOutTemp =
Replace(StrSource, StrBegin, "|>><<|")
OutTemp =
Replace(OutTemp, StrEnd, "|>><<|")
OutStr =
Split(OutTemp, "|>><<|")
For i = 1
To UBound(OutStr)
Step 2
GetStr = GetStr & OutStr(i) & vbCrLf
NextEnd Function '截取两段代码的中间部分-EndExECuT