replace character at position str php code example
Example: php replace return character
$string = str_replace("\n", "", $string);
$string = str_replace("\r", "", $string);
$string = str_replace("\n", "", $string);
$string = str_replace("\r", "", $string);