Re: Escaping with tr
- From: subscr@xxxxxxxxxx (Bernard van de Koppel)
- Date: Wed, 31 Aug 2005 01:46:33 +0200
Hi,
Thanks, this works great.
Bernard
On Tuesday 30 August 2005 23:23, Scott Taylor wrote:
> > Hi,
> >
> > How can I get all the " characters out of a csv file.
> >
> > Input looks like
> > "bla bla";"bla bla";"bla bla"
> >
> > and it has to look like
> > bla bla;bla bla; bla bla
> >
> > I tried $text=~ tr(#\"##);
> > but perl keeps complaining about "Might be a runaway multi-line ;;"
>
> starting on the line with tr.
>
> Try to use $text=~s/"//g;
>
> --
> Scott
.
- References:
- Re: Escaping with tr
- From: Scott Taylor
- Re: Escaping with tr
- Prev by Date: how to replace multiple whit space with ", ".
- Next by Date: Re: how to replace multiple whit space with ", ".
- Previous by thread: Re: Escaping with tr
- Next by thread: how to replace multiple whit space with ", ".
- Index(es):
Relevant Pages
|