PHP Wyjmij żetyki z sznurka

//replace dashes (-) with spaces ( )  
$string="text-with-dashes";
//php string replace
$test = str_replace("-", " ", $string);
Vic20