in reply to Re: How to remove double quotes?
in thread How to remove double quotes?

it occurred to me that if the double-quotes are at all valuable in and of themselves, and happen to just be a problem for the recieving program, you might want to consider translating them to something other than an empty string, i.e.:

$string =~ tr/"/'/d;

of course the problem here being that you run the risk of changing the meaning of the string in other ways

just my $.02

Replies are listed 'Best First'.
Re: Re: Re: How to remove double quotes?
by Anonymous Monk on Jun 05, 2001 at 20:49 UTC
    Following on from this point.
    Check the docs on the software which is treating the " as a line ending character. It might have an escape syntax for the " and other characters it has special behaviours for.