File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes parseInt question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "parseInt question" Watch "parseInt question" New topic

parseInt question

Jade Davidson
Ranch Hand

Joined: Oct 12, 2001
Posts: 64
I am still doing the numerology program where I am parsing the birthdate String (e.g., 12/31/2001.
I broke up the String to get rid of the formatting lines in the date (/ or -) and stored them as smaller Strings in an array. Now I want to convert the Strings to ints with wrapper classes. Can I use a method like parseInt on the array, or do I have to do it separately to each string in the array?
Rajan Chhibber

Joined: Apr 28, 2001
Posts: 9
u'll have to do it on each element of the array, using a loop
I agree. Here's the link:
subject: parseInt question
It's not a secret anymore!