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
In reply to Re: Re: Re: getting the right stuff
by arturo
in thread getting the right stuff
by malaga
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |