Answers for "php replace spectial character with other character"

PHP
5

php replace return character

$string = str_replace("\n", "", $string);
$string = str_replace("\r", "", $string);
Posted by: Guest on May-14-2020
0

replace all occurrence char in string php

$string = str_replace('search','replace',$string);
Posted by: Guest on January-27-2021

Code answers related to "php replace spectial character with other character"

Browse Popular Code Answers by Language