This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
You can use the Integer class to convert a String (containing digits only) to an Integer object. You can then get the primitive int value from the Integer object, e.g: String s = "1234"; Integer intObject = new Integer(s); int i = intObject.intValue(); [This message has been edited by Thomas Berglund (edited May 14, 2001).]