Answers for "convert string spaces to underscore in php"

PHP
3

php convert spaces to underscores

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

Code answers related to "convert string spaces to underscore in php"

Browse Popular Code Answers by Language