FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Suggestions
   Software Suggestions
(Moderator: fry)
   Re: please examine
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Re: please examine  (Read 257 times)
benelek

35160983516098 WWW Email
Re: please examine
« on: Nov 15th, 2003, 2:34am »

if you want to turn a String representation of an integer into an int, the following should work:
 
Code:

String myString = "123";
int myInt = (new Integer(myString)).intValue();
 
madmerv
Guest
Email
Re: please examine
« Reply #1 on: Nov 15th, 2003, 4:50am »

i think this thread should be moved to its rightful place; under another topic
 
more string info:
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html
« Last Edit: Nov 15th, 2003, 4:57am by madmerv »  
Pages: 1 

« Previous topic | Next topic »