php get first character of string
$firstStringCharacter = substr("hello", 0, 1);
php get first character of string
$firstStringCharacter = substr("hello", 0, 1);
take last four digits php
$newstring = substr($dynamicstring, -7);
first name of string php
$words = explode(" ", $string);
$firstname = $words[0];
$lastname = $words[1];
$third_word = $words[2];
get first word from string php
function getFirstWord($string)
{
$arr = explode(' ', trim($string));
return isset($arr[0]) ? $arr[0] : $string;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us