May 17, 2007
Better last word function
function lastword($theString)
{
$stringParts = explode(" ", $theString);
return array_pop($stringParts);
}
May 17, 2007
function lastword($theString)
{
$stringParts = explode(" ", $theString);
return array_pop($stringParts);
}
Leave a Reply
You must be logged in to post a comment.