Results 1 to 2 of 2
Thread: hi@hi.com -> hi(at)hi.com
-
09-20-2003, 12:02 AM #1Web Hosting Master
- Join Date
- Aug 2003
- Location
- California, USA
- Posts
- 582
nvm, delete plz
nvm, can be deleted
Last edited by etogre; 09-20-2003 at 01:01 AM.
-
09-20-2003, 01:04 AM #2Web Hosting Master
- Join Date
- Jan 2003
- Location
- Lake Arrowhead, CA
- Posts
- 789
You can use str_replace for simple string replacement.
$new_var = str_replace("@", "(at)", $old_var);
If you're working on text which might contain @ somewhere else, you'll want to look into ereg_replace to do regular expression replacement.http://www.srohosting.com
Stability, redundancy and peace of mind