Answers for "replace space with underscore in php preg"

PHP
4

php replace space with underscore

$str = str_replace(' ', '_', $str);
Posted by: Guest on July-14-2020

Code answers related to "replace space with underscore in php preg"

Browse Popular Code Answers by Language