![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Does anyone know of a good method to turn a String, "1" for instance, into the equivalent int? I'm currently doing the following: String foo; It's only one line of code, but having to create an object each time I want the primitive int value irritates me. Thanks, Tim W
Replies:
|
Sponsored Links
|