php remove dashes from string
//replace dashes (-) with spaces ( )
$string="text-with-dashes";
//php string replace
$test = str_replace("-", " ", $string);
Are there any code examples left?
New code examples in category PHP
//replace dashes (-) with spaces ( )
$string="text-with-dashes";
//php string replace
$test = str_replace("-", " ", $string);