RE: Find and delete

2001-10-01 Thread Verhare
Hi, At 1-10-2001 10:12 -0400, Bob Showalter wrote: > > my $wordtodelete = "[Deletethis]; > >There's a quote missing at the end of this line. Sorry, typo in my email, not in the script. >Since your $wordtodelete may or may not include such "meta" >chars, the best way to do this is to use t

RE: Find and delete

2001-10-01 Thread Bob Showalter
> -Original Message- > From: Roger C Haslock [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 01, 2001 10:38 AM > To: [EMAIL PROTECTED]; Verhare > Subject: Re: Find and delete > > ... > Perhaps you need something like > > my $wordtodelete = "\

Re: Find and delete

2001-10-01 Thread Roger C Haslock
quot;Verhare" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 01, 2001 2:52 PM Subject: Find and delete > Hi, > > I'm fairly new to perl and having a little problem. > > I want to delete a word from a phrase. My problem is that the word

RE: Find and delete

2001-10-01 Thread Bob Showalter
> -Original Message- > From: Verhare [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 01, 2001 9:52 AM > To: [EMAIL PROTECTED] > Subject: Find and delete > > > Hi, > > I'm fairly new to perl and having a little problem. > > I want to delete

Find and delete

2001-10-01 Thread Verhare
Hi, I'm fairly new to perl and having a little problem. I want to delete a word from a phrase. My problem is that the word is contained in square brackets. The phrase looks something like this : [Deletethis] And some other words I tried to use something like this to delete the word bet