Core/FullName.php
protected function split($fullName)
    {
        $names = explode(" ", trim($fullName), 2);

        $this->firstName = trim($names[0]);
        $this->lastName = trim($names[1]);
    }
protected function split($fullName)
    {
        $names = explode(" ", trim($fullName), 2);

        $this->firstName = trim($names[0]);
        $this->lastName = trim($names[1]);
    }
protected function split ( $ fullName ) { $ names = explode ( " " , trim ( $ fullName ) , 2 ) ; $ this -> firstName = trim ( $ names [ 0 ] ) ; $ this -> lastName = trim ( $ names [ 1 ] ) ; }
Split user full name to first name and second name.

@param string $fullName
Split user full name to first name and second name .