Sorry for the bother, but a bolt of lightning hit me head and gave me a one 
liner that would also work:

$longdate =~ s/^(\w+\s)//;

While not entirely true, my mind thinks that if I can do it in one step, I 
can fool myself into thinking that I know what the heck I'm doing!! ;) I'm 
still hoping to advance past the beginner stage one day.
Good day

>Date: Thu, 29 Nov 2001 18:32:45 -0500
>To: <[EMAIL PROTECTED]>
>From: Carl Rogers <[EMAIL PROTECTED]>
>Subject: Re: I thought I knew....
>
>At 03:20 PM 11/29/2001 -0800, A. Rivera wrote:
>>OK, I have this..
>>
>>$longdate="Fri November 29, 2001";
>>And I want just the November 29, 2001 part.
>
>How about
>$longdate =~ /(\w+\s)/;
>$longdate =~ s/$1//;
>
>Not too elegant, but it works for this example, I think


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to