Answers for "php get from second character of string to middle"

PHP
0

php get from second character of string to middle

substr( $string, $start, $stopWhenStringLenghtIsEqualTo );

Example:
echo substr( "Hello php!", 1,3 );
// Prints: "ell"
Posted by: Guest on August-16-2021

Code answers related to "php get from second character of string to middle"

Browse Popular Code Answers by Language