PHP retrieve last name from full name, where last name is unknown
<p>Basic question for PHP experts out there.</p>

<p>I'm writing a page where the variable I receive will be somebody's full name, the two words will be separated by a space. Thus, I know that the second word, after the space will be the last name. I would like to retrieve this last name and hold it in a variable. </p>

<p>For example: <code>$EditorName = "John Doe"</code></p>

<p>I would like to have the result <code>$LastName = "Doe"</code></p>

<p>Can I use some variation of the <code>split</code> in the PHP manual.</p>

<p>I would be grateful for your help. </p>
