This function are case-sensitive
echo str_replace("World","Peter","Hello world!");
output: Hello Peter!
This function are case-insensitive
echo str_ireplace("WORLD","Peter","Hello good world!");
output: Hello good Peter!
by saba chankvetadze
2 years ago
PHP
string
0
Pro tip: use ```triple backticks around text``` to write in code fences