If I have a name, "Jane & John Doe" and would like to split the two like so: $first = "Jane & John" and $last = "Doe". How do I do that? I know I should have something like this:
$name = "Jane & John Doe";
$name = explode(" ", $name);
$first = array_shift($name);
$last = array_pop($name);
I know that will only give me "Jane" and "Doe". Can I do the array_pop() first and then convert the rest of the array to a string?

$last=array_pop($name); $first=implode(" ",$name);.