• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parseInt question

 
Jade Davidson
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u'll have to do it on each element of the array, using a loop
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic