Added str_replace() method.