Thanks. I'll keep it in mind next time. Still struggling with my English though.
On Tue, 2 Nov 2004 11:01:43 +0100, Ing. Branislav Gerzo <[EMAIL PROTECTED]> wrote: > Khairul Azmi [KA], on Tuesday, November 2, 2004 at 17:52 (+0800) > typed: > > KA> The problem is I would not any double quote in the middle of the > KA> sentence to be removed. > KA> For example > KA> $string="\" email title. \" username \""; > > you have to be more specific, what do you want. If the sentence begins > or ends with double quotes, and you want to remove them, use: > > $string1 =~ s/^\"|\"$//g; #replace 1st and last " with nothing (\\) > > -- > > ...m8s, cu l8r, Brano. > > [URA Redneck if you view duct tape as a long-term investment] > > -- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>