Wagner-David wrote: > > Might be faster and easier to use tr: > > tr/0-9//c ; # take complement of what is in string1 and replace w/ >string2(null in this case)
This will replace the complement of 0-9 with the complement of 0-9. It doesn't change the original string at all. You have to use the /d modifier to actually delete something. tr/0-9//cd; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]