title: Getting a substring text from a string in VB.NET
body: <p>Lets say I have a text <code>Howard Johnson, 21 (USA)</code></p>
  
  <p>I want to get the substring of the text <code>Johnson</code>.</p>
  
  <p>I could do this with <code>InStr</code> and <code>Microsoft.VisualBasic.Left</code> Or <code>Mid</code>, But I always found this method rather <em>tedious</em> and I want to know if there is another easier method to do this.</p>
  
  <pre><code>Dim myText As String = "Howard Johnson, 21 (USA)"
  Dim textIWant As String = InStr(1, myText, Chr(32))
  Dim LastName As String = Mid(myText, textIWant + 1, textIWant)
  'Output: Johnson
  </code></pre>
  
  <p>Any suggestions?</p>