Answers for "get specific chars from string php"

PHP
1

php get char from string position

//You can use your string the same as an array :
$some_string = "apple";
echo $some_string[2]; //echo "p"
Posted by: Guest on July-12-2021
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 "get specific chars from string php"

Browse Popular Code Answers by Language