📜  php 从字符串中删除破折号 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:51.385000             🧑  作者: Mango

代码示例1
//replace dashes (-) with spaces ( )  
$string="text-with-dashes";
//php string replace
$test = str_replace("-", " ", $string);