Answers for "php remove last all not neumircal from string"

PHP
1

php string remove last character

echo substr('a,b,c,d,e,', 0, -1);
# => 'a,b,c,d,e'
Posted by: Guest on April-20-2021
0

php string remove last character

substr(string $string, int $start, int[optional] $length=null);
Posted by: Guest on April-20-2021

Code answers related to "php remove last all not neumircal from string"

Browse Popular Code Answers by Language