Article View: borland.public.jbuilder.java.language
Article #8758Re: String to int/ int to String
From: Hartmut
Date: Fri, 02 Mar 2001 09:49
Date: Fri, 02 Mar 2001 09:49
13 lines
1198 bytes
1198 bytes
"stephen" <chinafax1@cmmail.com> schrieb im Newsbeitrag news:3a9f66c8_2@dnews... > How to convert String to int int myInt = Integer.parseInt( myString ); > and how to convert int to String String myString = Integer.toString( myInt ); These are static methods of class Integer, so you needn't create Integer objects to use them. Regards, Hartmut
Technical Details
Message-ID:
<3a9f6cb6_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!217.3.243.237References:
<3a9f66c8_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,9aa1905fb483408c X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-02 01:56:04 PST From: "Hartmut" <hartmut.kiessling@bnhof.de> Newsgroups: borland.public.jbuilder.java.language References: <3a9f66c8_2@dnews> Subject: Re: String to int/ int to String Date: Fri, 2 Mar 2001 10:49:45 +0100 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 217.3.243.237 Message-ID: <3a9f6cb6_2@dnews> X-Trace: 2 Mar 2001 01:49:42 -0800, 217.3.243.237 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!217.3.243.237