title: Old visual basic mid and left functions
body: <p>I am using old code from vb but I would like to know whats the best approach for vb.net new code..</p>
  
  <pre><code>test = Mid(strData, Pos1 + Len(strFirst))
  test = Mid(strData, Pos1 + Len(strFirst) + 3 + Len(strID))
  test = Microsoft.VisualBasic.Left(strID, Pos2 - 1)
  </code></pre>