Sep 29, 2009 7:00 PM GMT+00:00 Sep 30, 2009 7:30 PM GMT+00:00StringTokenizer works on characters - not strings.
I am using "GMT+00:00" (no quotes) as the delimiter.
The String#split method correctly splits the string in to the array
elements using a simple regex:
String tokens = text.split("GMT\\+00:00");
The StringTokenizer splits on the first double zero in 2009 and then stops
at the colon in the time next:
StringTokenizer t = new StringTokenizer(text, "GMT+00:00");
The 1st two tokens are:
Sep 29, 2
Has anyone seen this behavior before? Am I missing something obvious?
amazon.com ads help fund midrange.com operations