Article View: borland.public.jbuilder.java.language
Article #8254Re: Newbie problem Help
From: Jips
Date: Mon, 02 Apr 2001 18:28
Date: Mon, 02 Apr 2001 18:28
16 lines
1242 bytes
1242 bytes
Thank you very much "Roger McLitty" <RogerMcLitty@yahoo.co.uk> wrote in message news:3ac85bd0.9261947@nnrp.news.gxn.net... > > On the string comparison, instead of using > > if (tempString == userSearch) > > use: > > if (tempString.equals(userSearch)) > > - it is annoying that it doesn't give the same results - I often use > the '==' by mistake and it's the last thing I check.
Technical Details
Message-ID:
<tchh7tlmr4k8a7@corp.supernews.co.uk>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-uk-post-01!supernews.com!corp.supernews.co.uk!not-for-mailReferences:
<tcenh9ll114k7b@corp.supernews.co.uk> <3ac85bd0.9261947@nnrp.news.gxn.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,97680a906a0b92c1 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-04-02 11:29:19 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-uk-post-01!supernews.com!corp.supernews.co.uk!not-for-mail From: "Jips" <James_Blonden@Bigfoot.com> Newsgroups: borland.public.jbuilder.java.language Subject: Re: Newbie problem Help Date: Mon, 2 Apr 2001 19:28:45 +0100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <tchh7tlmr4k8a7@corp.supernews.co.uk> References: <tcenh9ll114k7b@corp.supernews.co.uk> <3ac85bd0.9261947@nnrp.news.gxn.net> 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 X-Complaints-To: newsabuse@supernews.com Lines: 18