title: Get characters from the left until space then one more character after it
body: <p>I want to get all of the text from the left and go until there is a space and then get one more character after the space.</p>
  
  <p>example:
  <strong><em>"Brian Spelling"</em></strong> would be <strong><em>"Brian S"</em></strong></p>
  
  <p>How can I do this in php?</p>
  
  <p>In ASP the code looks like this:</p>
  
  <pre><code>strName1=left(strName1,InStr(strName1, " ")+1)
  </code></pre>