title: Split a string on the last occurring space
body: <p>I need to split a string into two parts. The string contains words separated by a space and can contain any number of words, e.g:</p>
  <p><code>$string = &quot;one two three four five&quot;;</code></p>
  <p>The first part needs to contain all of the words except for the last word.</p>
  <p>The second part needs to contain just the last word.</p>
  <p>EDIT: The two parts need to be returned as strings, not arrays, e.g:</p>
  <p><code>$part1 = &quot;one two three four&quot;;</code></p>
  <p><code>$part2 = &quot;five&quot;;</code></p>