11 Replies Latest reply on Dec 8, 2009 1:36 AM by 3004

    StringTokenizer eeeeek now have a date

      I think i may have taken the wrong path by using StringTokenizer, emphasis on String here which gets me worried, but hopefully you guys know a simple solution.

      Im splitting a text file into tokens, which is just a list of first name lastname, address etc but then there is a date (dd/mm/yyyy). which where it all goes wrong.
      for all the other tokens I have been using " variable = tokenizer.nextToken();" but this wont work for a date as its not a string. Ive declared the date variable as so:
      static Date dateOb.

      any help or usful links will be most appreciated.