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 String to Int Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "String to Int" Watch "String to Int" New topic

String to Int

P. Sagdeo
Ranch Hand

Joined: Nov 13, 2003
Posts: 67
Hi All,
I was wondering if there was a painfree way to convert String objects with numbers (i.e. "1243") to ints (1243). I know it's possible to manually do it, but I realize that it could take some time, and I don't want to reinvent the wheel.
Parth Sagdeo
Fisher Daniel
Ranch Hand

Joined: Sep 14, 2001
Posts: 582
Hi Parth Sadgeo,
You can find the answer on this url... here

Hope this helps...

I agree. Here's the link:
subject: String to Int
It's not a secret anymore!