explode in laravel blade

39

$full_name = "John Doe";
$name = explode(' ',$full_name);
$first_name = $name[0];
$last_name = $name[1];

Comments

Submit
0 Comments