Reading a formatted text file
I need some help reading data from this text file and storing them appropriatly:
Mike 19 Male Newyork student
Pamela 24 Female Chicago doctor
the first column is for names, the second is for age, the third is for gender ,the fourth is for city and the fifth is for occupation. I need to store each one in an appropriate array.
N.B the space between each field(values) is a \t
And sorry for not providing any code simply because i couldn't do it :(
Thanks in advance.