Home >> PHP >> str_ireplace() function in PHP

str_ireplace() function in PHP

The str_ireplace() function Case-insensitive and used for replaces characters with other characters in a string.

Syntax

str_ireplace (search,replace,string,count)

Example

echo str_ireplace("DEAR","Brother","Hello Dear");

Output

Hello Brother

 

Post Your Comment

Next Questions
str_pad() function
str_repeat() function
str_replace() function
str_shuffle() function
str_split() function
str_word_count() function
strcasecmp() function
strchr() function
strcmp() function
strcspn() function
strip_tags() function
stripslashes() function
stripos() function
stristr() function
strlen() function
strnatcasecmp() function
strnatcmp() function
strncasecmp() function
strncmp() function
strpbrk() function
strpos() function
strrchr() function
strrev() function
strripos() function
strrpos() function

Copyright ©2022 coderraj.com. All Rights Reserved.