Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php remove dashes from string

//replace dashes (-) with spaces ( )  
$string="text-with-dashes";
//php string replace
$test = str_replace("-", " ", $string);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #remove #dashes #string
ADD COMMENT
Topic
Name
2+4 =