Thread
:
Is it necessary to use strings for this assignment?
View Single Post
10-19-2005, 01:43 PM
#
2
(
permalink
)
Belisarius
Java fanboy
Join Date: Aug 2003
Posts: 1,166
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
View Public Profile
Find More Posts by Belisarius