Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php replace return character
Nikita
Programming language:
PHP
2021-05-06 02:11:39
0
Q:
php replace return character
chiaraluna
Code:
PHP
2021-06-29 07:37:44
$string = str_replace("\n", "", $string); $string = str_replace("\r", "", $string);
1
Tags
php
replace
turn
character
return
Related
php preg match space or start of string
string replace in php
php escape string
php replace
get the string after a character in php
find and replace in php
php replace every occurrence of character in string
php replace \n by <br>
php preg replace
php regex non printable characters
php replace space with underscore
get words after string in in php
replace all numbers in string php
php string replace
replace all php
replace multiple characters one string php
php replace string within string
determine special characters in php
php get string before character
New to Communities?
Join the community