in reply to How do I surround commas with escaped double-quotes?
Prints:$string= "This, that, and those"; $string =~ s/,/\\",\\"/g; print $string;
This\",\" that\",\" and those
In Section
Seekers of Perl Wisdom
in reply to How do I surround commas with escaped double-quotes?
Prints:$string= "This, that, and those"; $string =~ s/,/\\",\\"/g; print $string;
This\",\" that\",\" and those