Lonewolf wrote: > > I have a function and can't seem to get this figured out. I have > apostrohe's in the file that I am pulling down, however I need to remove all > of the apostrophe's from the file before putting the file into the system. > > <CODE SNIPPET> > $fields[0] =~ s/'//; > <END CODE SNIPPET> > > The apostrophe character just needs to be removed and the field shrunk, so I > know it is something simple.
Change s/'//; to tr/'//d; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>