Answers for "short 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

Browse Popular Code Answers by Language