title: Find space in string, remove everything after it
body: <p>Hoping this would be simple, but doesnt seem to be.</p>
  
  <p>I've got a variable in vb.net 'contactname'.
  format is like "John Smith"</p>
  
  <p>I want to get just the forename from this, but cant seem to do it. </p>
  
  <p>I've found and adapted some examples from google, but nothing seems to work :(</p>