Answers for "PHP REMOVE 2"

PHP
2

php substr remove last 4 characters

echo substr($string, 0, -3);
Posted by: Guest on October-24-2020
0

replace all numbers in string php

$words = preg_replace('/[0-9]+/', '', $words);
Posted by: Guest on October-21-2020

Code answers related to "PHP REMOVE 2"

Browse Popular Code Answers by Language