develooper Front page | perl.beginners | Postings from April 2002

Creating variables of a string

Thread Next
From:
Michael Stearman
Date:
April 2, 2002 09:02
Subject:
Creating variables of a string
Message ID:
F1922kVrPm5QuG6kpaN0000370b@hotmail.com

Hi,

I have a string that contains a word and 2 numbers.  For example,

Michael     57   3

I want to assign each of these three to different variables.  My only 
problem is that the word and the numbers are always different and the space 
between the words and numbers is always different as well.  Does anyone know 
how I would assign the word and numbers to three different variables?  
Thanks in advance.

Mike.


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About