Re: Substring retrieval

2001-06-06 Thread Will W
- Original Message - From: Hasanuddin Tamir <[EMAIL PROTECTED]> To: Nathaniel Mallet <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 05, 2001 8:38 PM Subject: Re: Substring retrieval > On Tue, 5 Jun 2001, Nathaniel Mallet <[EMAIL PROTECTED]

Re: Substring retrieval

2001-06-05 Thread Hasanuddin Tamir
On Tue, 5 Jun 2001, Nathaniel Mallet <[EMAIL PROTECTED]> wrote, > The Index function isn't listed on the perl.com website, which was the only > place I looked for documentation up until now. I haven't recieved my Perl > books from Fatbrain yet. ;-) It's always right there (among other functions

Re: Substring retrieval

2001-06-05 Thread Nathaniel Mallet
t; <[EMAIL PROTECTED]> To: "Nathaniel Mallet" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, June 04, 2001 10:21 PM Subject: Re: Substring retrieval > On Mon, 4 Jun 2001, Nathaniel Mallet <[EMAIL PROTECTED]> wrote, > > > Date: Mon, 4 Ju

Re: Substring retrieval

2001-06-05 Thread Carl Rogers
Good day; At 08:17 AM 6/5/2001 -0700, Paul wrote: >--- Nathaniel Mallet <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm trying to retrieve a substring from a string, but I'm not > > sure exactly where and how big that substring is. The substring is > > delimited by a start and end special char

Re: Substring retrieval

2001-06-05 Thread Paul
--- Nathaniel Mallet <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to retrieve a substring from a string, but I'm not > sure exactly where and how big that substring is. The substring is > delimited by a start and end special character. It was suggested to > me to write two regular express

Re: Substring retrieval

2001-06-04 Thread Hasanuddin Tamir
On Mon, 4 Jun 2001, Nathaniel Mallet <[EMAIL PROTECTED]> wrote, > Date: Mon, 4 Jun 2001 21:06:43 -0400 > From: Nathaniel Mallet <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Substring retrieval > > Hi, > > I'm trying to retrieve a

Re: Substring retrieval

2001-06-04 Thread Eduard Grinvald
Ok, the best way (in my opinion), would be, assuming 's' and 'e' are the start/end special characters: $string =~ s/^.*?(s.*e).*$/$1/; - Original Message - From: "Nathaniel Mallet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday

Substring retrieval

2001-06-04 Thread Nathaniel Mallet
Hi, I'm trying to retrieve a substring from a string, but I'm not sure exactly where and how big that substring is. The substring is delimited by a start and end special character. It was suggested to me to write two regular expression, one that would match everything up to and including t