str_replace: @ (at) : String Replace « String « PHP

str_replace: @ (at)

   $author = "";
   $author = str_replace("@","(at)",$author);
   echo "Contact the author of this article at $author.";


Related examples in the same category

1.Quantifier Syntaxes
2.Replacing a Pattern with a Found String
3.Replace the tag content without getting rid of any attributes
4.String replace with Regular Expressions
5.What happens when multiple instances of the search string overlap?
6.String replace: index and value