Answers for "php get first character of string php"

PHP
14

php get first character of string

$firstStringCharacter = substr("hello", 0, 1);
Posted by: Guest on October-19-2019
1

print only some characters of a string in php

substr(string,start,length)
Posted by: Guest on July-11-2020

Code answers related to "php get first character of string php"

Browse Popular Code Answers by Language