- 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]
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
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
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
--- 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
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
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
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