🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #317

Re: Help! String as Integer

#317
From: Chris Smith
Date: Fri, 01 Jun 2001 01:22
10 lines
1434 bytes
"Carl Schodde" <schodde@ozemail.com.au> wrote ...
> You could also use Integer.parseInt("foo");
>

Well, the point of my post is that you can't.  The OP obviously want some
specific form of unusual generation of an integer value from text that it's
integral in nature.  The above will throw an exception, not convert a string
to an integer.

Chris Smith
Technical Details
Message-ID: <9f6qpr$guq$0@dosa.alt.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!feed1-in.uncensored-news.com!news.alt.net!usenet
References: <3A63FC90.3C832EFA@chipcity.com.au> <3b16b1bd_3@news.bizonline.net> <9f6i6i$h5d$0@dosa.alt.net> <ZTBR6.104$QW4.3681@ozemail.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113ae9,7de64e08ee658586
X-Google-Attributes: gid113ae9,public
X-Google-Thread: 10a146,5f124143cc4771e2
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10d6db,7de64e08ee658586
X-Google-Attributes: gid10d6db,public
X-Google-ArrivalTime: 2001-05-31 18:23:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!feed1-in.uncensored-news.com!news.alt.net!usenet
From: "Chris Smith" <cdsmith@twu.net>
Newsgroups: aus.computers.java,comp.lang.java.programmer,comp.lang.java.help
Subject: Re: Help! String as Integer
Date: Thu, 31 May 2001 20:22:36 -0500
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 13
Message-ID: <9f6qpr$guq$0@dosa.alt.net>
References: <3A63FC90.3C832EFA@chipcity.com.au> <3b16b1bd_3@news.bizonline.net> <9f6i6i$h5d$0@dosa.alt.net> <ZTBR6.104$QW4.3681@ozemail.com.au>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200