At 03:18 PM 11/17/03 -0700, you wrote:
I have the following code to find a quote in a string and replace it
with a slashquote.

ie " goes to \"

How do I get it to do more than one substitution in the string.


$_ = $$Rules{$yes}{rule_desc}; s/"/\\"/; $$Rules{$yes}{rule_desc} = $_;

newbie...

Put a g before the second semicolon above.




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to