🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #396

Re: String.indexOf issues with : character

#396
From: Ron Loewy
Date: Mon, 03 Nov 2003 18:12
15 lines
1500 bytes
"Kevin Dean" <NkOdSePaAnM@datadevelopment.com> wrote in message
news:3fa55492$1@newsgroups.borland.com...
> I've never seen indexOf behave like that.  What you're seeing suggests to
me
> that the source string doesn't contain the data you think it does.
>

Thanks. Actually the source string did include the string - but I was
transposing a couple of characters in the search string and somehow managed
not to see it for more than an hour...

Too much work, not enough play, I guess. Sorry for the false alarm.

Ron.
Technical Details
Message-ID: <3fa69a7e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!In.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3fa2f859$1@newsgroups.borland.com> <3fa55492$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,71d980371de077c8
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-11-03 10:33:50 PST
From: "Ron Loewy" <nospam@spam.com>
Newsgroups: borland.public.jbuilder.java.api
References: <3fa2f859$1@newsgroups.borland.com> <3fa55492$1@newsgroups.borland.com>
Subject: Re: String.indexOf issues with : character
Date: Mon, 3 Nov 2003 10:12:10 -0800
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 66.12.226.26
Message-ID: <3fa69a7e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067883134 66.12.226.26 (3 Nov 2003 10:12:14 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!In.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail