This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
Author

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?
Thanks.
Rajan Chhibber
Greenhorn

Joined: Apr 28, 2001
Posts: 9
u'll have to do it on each element of the array, using a loop
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: parseInt question
 
It's not a secret anymore!