How to read two fields in a file
Posted: Sun Feb 01, 2009 4:18 pm
Hello i would like to read from a file.txt the fields it contains
e.g.
John teacher
George doctor
Maria lawer
I have to read two strings which are seperated by a " " space.
May you please tell me, how can i open and read the file?
Thanks
e.g.
John teacher
George doctor
Maria lawer
I have to read two strings which are seperated by a " " space.
May you please tell me, how can i open and read the file?
Thanks