VB Code:
Private Sub Form_Load()
Dim theString As String
Dim startCount As Integer
Dim endCount As Integer
Dim block1 As String
Dim block2 As String
Dim i As Integer
block1 = "[Start]"
block2 = "[End]"
theString = block1 & vbCrLf & "asdf" & vbCrLf & block2 & vbCrLf & _
block1 & vbCrLf & "jjjp" & vbCrLf & block2
startCount = 1
For startCount = 1 To Len(theString)
startCount = InStr(startCount, theString, "[Start]", vbTextCompare)
If startCount = 0 Then Exit For
endCount = InStr(startCount, theString, "[End]", vbTextCompare)
Debug.Print Mid(theString, startCount + Len(block1), endCount - (startCount + Len(block1)))
startCount = endCount
Next startCount
End Sub