Re: Escaping with tr
- From: scott@xxxxxxxxxxxxxxx (Scott Taylor)
- Date: Tue, 30 Aug 2005 14:23:04 -0700 (PDT)
Bernard van de Koppel said:
> 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
.
- Follow-Ups:
- Re: Escaping with tr
- From: Bernard van de Koppel
- Re: Escaping with tr
- From: Wiggins d'Anconia
- Re: Escaping with tr
- Prev by Date: Re: Escaping with tr
- Next by Date: Re: Escaping with tr
- Previous by thread: Re: Escaping with tr
- Next by thread: Re: Escaping with tr
- Index(es):
Relevant Pages
|
|