[Perl] Cutting text strings

Yaron Golan yaron.golan at SeabridgeNetworks.com
Thu Feb 7 09:09:25 PST 2002

Hi all,
What is the best way to take only the user name from an E-mail address?
$EMailAdress = "yaron.golan at SeabridgeNetworks.com";
I need only the "yaron.golan"
In tcsh I'd do something like : echo $EMailAdress | tr '@' ' ' | awk {print
What is the best way to "perl" it ?

Yaron Golan
Configuration Management
Tel: +972  9  7751179 
Fax: +972  9  7751212
E-mail: yaron.golan at SeabridgeNetworks.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://perl.org.il/pipermail/perl/attachments/20020207/3cacef5b/attachment.htm 

More information about the Perl mailing list