Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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"
 
PREVIOUS NEXT
Tagged: #php #char #string #position
ADD COMMENT
Topic
Name
2+2 =