Answers for "php replace all white spaces with underscore"

PHP
5

php replace space with underscore

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

Code answers related to "php replace all white spaces with underscore"

Browse Popular Code Answers by Language