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
First note > my $wordtodelete = "[Deletethis]; should have a trailing quote mark, like this > my $wordtodelete = "[Deletethis]"; Perhaps you need something like my $wordtodelete = "\[Deletethis\]"; - Roger - - Original Message - From: "Verhare" <[EMAIL PROTECTED]> To: <

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 a word from a phrase. My problem is that