title: Search for word in text file and continue reading from there vb.net
body: <p>As the title say i would like to search a text file for a specific word and then start reading the text from that point forth.</p>
  
  <p>A code snippet is the following</p>
  
  <pre><code>Dim path As String = "c:\temp\test.txt"
          Dim readall As String
          Dim i As Integer
  
  
              If File.Exists(path) Then
                  File.Delete(path)
              End If
  
              Dim sw As StreamWriter = New StreamWriter(path)
              sw.WriteLine("Hello")
              sw.WriteLine("i am here")
              sw.WriteLine("to test")
              sw.WriteLine("the class")
              sw.Close()
  
              Dim sr As StreamReader = New StreamReader(path)
              readall = sr.ReadToEnd
              sr.Close()
  </code></pre>
  
  <p>So right now i have read the file and stored it to string readall.
  How can i write back to the file but now starting from the word "to"
  For instance the outpout text file would be</p>
  
  <p>to test
  the class</p>
  
  <p>I hope i made myself clear</p>