Could do something like:

        my($Month,$Date,$Time,$Year,$Zone)= split(/\s+/,$notAfter);

        On the split, it shows one space, but I always use the + so if an
extra space gets added along the way, it will not break.

        A start.

Wags ;)

-----Original Message-----
From: lz [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 06:56
To: [EMAIL PROTECTED]
Subject: string extraction


Hi guys,

For example, I have the following string, how I can
extract it so I have the following:
notAfter=Nov 16 23:59:59 2002 GMT

Month = Nov
Date = 16

Time=23

Year=2002

Zone=GMT

I really appreciate your help!

Thanks a lot!

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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

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

Reply via email to