Question : php remove dashes from string
Answered by : vic20
//replace dashes (-) with spaces ( )
$string="text-with-dashes";
//php string replace
$test = str_replace("-", " ", $string);
Source : https://stackoverflow.com/questions/32883049/how-to-remove-dash-form-any-string-using-php/32883342 | Last Update : Tue, 08 Sep 20