title: For each loop string
body: <p>I'm getting a file content from my website:</p>
  
  <pre><code>    Dim client As WebClient = New WebClient()
      Dim text = client.DownloadString("http://myurl.com/raw.php")
  </code></pre>
  
  <p>The <code>text</code> is following:</p>
  
  <pre><code>Line
  Another Line
  Test1
  Test2
  </code></pre>
  
  <p>Now, how can I run a loop through the <code>text</code> variable, to have a text from each line ?</p>
  
  <p>I have tried this:</p>
  
  <pre><code>    Dim str As String() = text.Split(":::")
      For Each line As String In str
          MsgBox(line)
      Next
  </code></pre>
  
  <p>And I was finishing each line with the <code>:::</code>, but this method seems ugly and I hope there are better solutions?</p>