On Apr 2, Vitor Carlos Flausino said:
>is there any *smart* of puting all characters in lowrecase and at the
>same time remove the characters I want...
>
>
>if ($line=~ /^.+: SMTP-Accept:.+:(.+):(\d+):\d+:(.+)$/) {
> ($sender=$1)=~tr/A-Z/a-z/;
> $sender=~tr/>/d;
On Apr 2, Vitor Carlos Flausino said:
>I'm trying ro remove the charactes '<' and '>' a string. How do I do it?
>
>$sender=~tr/ at the same time:
tr/<>//d;
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ ht
Hi!
I'm trying ro remove the charactes '<' and '>' a string. How do I do it?
what is wrong with...
$sender=~tr//d;
...
in one step
Thkx,
-vcf
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]