Hi all,
I've got a file:
Which is meant to be used to fill the data of a class.Quote:
Name: John Smith
Age: 29
Height: 6.0
Weight: 160
What method do I use to find the first instance of " " and "toWhatever" the string from there? Thanks.
Edit: StringBuffer?
Edit2: Sorry all, my solution:
Code://bufferedReader is a succesfully opened file
int ch;
while ((ch = bufferedReader.read()) != -1 && ch != ' ')
;
