in reply to Re: Re: getting the right stuff
in thread getting the right stuff

To get rid of a character from a string, use tr/"//d (you need to add the d on the end for tr to delete)... this is also really handy for a range of characters, e.g. tr/"'//d;. Of course you have to bind the tr operator to the string you want stripped as in $string =~ tr/A-Z/a-z/;

HTH

Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Replies are listed 'Best First'.
Re: Re: Re: Re: getting the right stuff
by malaga (Pilgrim) on Feb 06, 2001 at 22:16 UTC
    i don't know where to do the replacement. do i need to change @records into a scalar to do it?