Answers for "php first name number in string"

PHP
1

first name of string php

$words = explode(" ", $string);

$firstname = $words[0];
$lastname = $words[1];
$third_word = $words[2];
Posted by: Guest on February-05-2021

Code answers related to "php first name number in string"

Browse Popular Code Answers by Language