i had an eariler problem and posted it here http://www.daniweb.com/techtalkforums/thread22426.html

I have to read a file in format char, int, string, string string(but i dont know how many strings(words are on the end).
I can get the char and int(the code is on the link above) and one strings(word) but not if i dont know how many strings on the end.
theres probably a simple answer but i can't think of it, been looking at it for too long.

please help this has been doing my head in for a week(feels like longer)

why don't you read it in this format:
char, int, string

then just use StringTokenizer to serpate any strings at the end, since you are usign tokenize you can count how many tokens are there to see how many strings you have