[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] [OT] Perl Question
- To: ale@ale.org
- Subject: [ale] [OT] Perl Question
- From: Jonathan Glass <jonathan.glass@ibb.gatech.edu>
- Date: 03 Jul 2003 15:33:22 -0400
- List-Archive: <http://www.ale.org/pipermail/ale/>
- List-Help: <mailto:ale-request@ale.org?subject=help>
- List-Id: Atlanta Linux Enthusiasts <ale.ale.org>
- List-Post: <mailto:ale@ale.org>
- List-Subscribe: <http://www.ale.org/mailman/listinfo/ale>,<mailto:ale-request@ale.org?subject=subscribe>
- List-Unsubscribe: <http://www.ale.org/mailman/listinfo/ale>,<mailto:ale-request@ale.org?subject=unsubscribe>
- Reply-To: ale@ale.org
- Sender: ale-admin@ale.org
If I have an array
$array[0]="2003-07-03 14:30:37 128.61.131.173 00:e0:29:84:a6:7e
BaoTweezers"
$array[1]="2003-07-03 14:30:37 128.61.131.94 00:e0:29:84:a6:7e
BaoTweezers"
How can I pull out parts of this string? In other languages I'd use a
trim feature. The real trick is , the date and time stamp need to be
one variable. Then IP, MAC and Name need to be different variables.
Any direction is greatly appreciated.
Thanks
--
Jonathan Glass <jonathan.glass@ibb.gatech.edu>
_______________________________________________
Ale mailing list
Ale@ale.org
http://www.ale.org/mailman/listinfo/ale