View Single Post
Old 10-19-2005, 01:43 PM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,166
Belisarius is on a distinguished road
The charAt() isn't really a good idea, as if the user inputs an extra space by accident, or doesn't use two 4 digit numbers, it'll cause problems. I'd suggest StringTokenizer.
__________________
GitS
Belisarius is offline   Reply With Quote