Search:

Type: Posts; User: Freaky Chris

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    1,173

    Re: String Tokenizer

    Look at the way your for loop works, you check if there is another line available then process it. But it was read at the end of the previous loop. Is this the way to do it?

    This means that you...
  2. Replies
    5
    Views
    1,173

    Re: String Tokenizer

    Since it is a date why not read it in as a String and the parse it to a date rather than an integer?

    Have a look here Java - DateFormat

    Pay particular attention to the parse() function!

    Chris
  3. Replies
    5
    Views
    1,173

    Re: String Tokenizer

    Hi m49er704,

    Could you please outline what you have tried before this, and perhaps what is wrong with this? What does it produce? How does this differ from what you expect?

    My uniformed guess...
Results 1 to 3 of 3