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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Consider Paul's rocket mass heater.
subject: parseInt question
Similar Threads
http 500 with stack trace
parseInt (String s, int radix)
Can a string array member serve as an index number of another string array?
how to compare string Array with different string