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:
$string = "one two three four five";
The first part needs to contain all of the words except for the last word.
The second part needs to contain just the last word.
EDIT: The two parts need to be returned as strings, not arrays, e.g:
$part1 = "one two three four";
$part2 = "five";