title: How do I start the index to a different position in a text file?
body: <p>What I am trying to accomplish is to extract specific text from a text file.</p>
  
  <p>Currently what this code outputs is that if parsed, it will display extracted text in a messagebox. It will extract the first 500 characters from the text file and display it in a little messagebox.</p>
  
  <p>The problem is that it starts from the beginning of the text file to extract the text. What I want it to do is to search for the text that states "SUMMARY" in the text file and start from there to extract the first 500 characters.</p>
  
  <p>I believe the problem is that I am missing some necessary code and I'm hoping someone can help me provide it for me please.</p>
  
  <pre><code>    Dim start_index As String = "SUMMARY"
  
      If parse() Then
          MsgBox(tariff.Substring(0, 500))
      Else
          MsgBox("Failed to parse.")
      End If
  </code></pre>