That's a very important point; unless you explicitly type into your code the email address, you don't need to escape the @ symbol. So populating $string from a database would need no extra work (and trying to do what you do may screw up the system later by introducing an unneeded backslash).
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain