|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hello.
I am running an email script. I take in a variable to the script in the format <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>datera@datera.com[/code] I need to use this in a mail function like this: <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>print MAIL "To: datera@datera.comn";[/code] How can I add the before the @??? I have tried <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>$var =~ s/@/@;[/code] but it returns errors. Thank you. yoshi datera@datera.com http://www.datera.com [This message has been edited by yoshi (edited July 09, 2000).] |
|
#2
|
||||
|
||||
|
Hi yoshi,
you can try the following.. $email=~ s/@/@/; #substitue @ with @.. print $email; ------------------ SR - webshiju.com "The fear of the LORD is the beginning of knowledge..." |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > substitution problems (involving @) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|