Frank McCollum schrieb:
> 
> related question:  I want to strip out any '*' symbols as well, and replace
> them with a zero.  So, I changed my code to reflect:
> 
> $origFee =~ s/[%\*]/0/;
> 
Of course, the best is what John W. Krahn has shown:
$origFee =~ tr/*%/0/d;

But your idea is possible, too.
All you have to do is to substitute GLOBAL:
$origFee =~ s/[%\*]/0/s;

Greetings,
Andrea

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to