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