Gregory Machin wrote:
> Hi

Hello,

> I need to remove all the quotation marks from, a string
> I tried s/\'// but it did not work.
> what have i missed  ??

You need to use the /g (global) option:

s/'//g

Or better yet, use the tr/// operator:

tr/'//d



John
-- 
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order.       -- Larry Wall

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to