title: Wrap first word in string in HTML tag with PHP?
body: <p>I have a string, for example <code>"Hello World"</code>.</p>
  
  <p>This would be a variable, so I don't know the contents of the string, just that it will have a space.</p>
  
  <p>What would be the best way to achieve this</p>
  
  <p><code>"&lt;span&gt;Hello&lt;/span&gt; World"</code> from the original string <code>"Hello World"</code>?</p>
  
  <p>Thanks!</p>