Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

first name of string php

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

$firstname = $words[0];
$lastname = $words[1];
$third_word = $words[2];
 
PREVIOUS NEXT
Tagged: #string #php
ADD COMMENT
Topic
Name
7+4 =