Hey, I would like to know what exactly "str_replace" does, and what its advantages are. Can anyone help me please?
There is a PHP manual:
http://www.php.net/manual/en/function.str-replace.php
str_replace doesn't let you use regex patterns in your search string. If you don't need regex pattern matching, use str_replace.