This is wierd, look at all the pretty colors
I don't like scroll bars
vb Code:
  1. Private Function ExtractText(fulltext As String, tags As clsTags)
  2.     fulltext = "This sucks"
  3.     'extracts and returns the text between the tags
  4.     Dim P1 As Integer, P2 As Integer
  5.     P1 = InStr(fulltext, tags.Starting.char)
  6.     P2 = InStr(P1 + 1, fulltext, tags.Ending.char)
  7.     ExtractText = Mid(fulltext, P1 + 1, P2 - P1 - 1)
  8. End Function