🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8410

Re: Changing a character in a file...

#8410
From: Hartmut
Date: Tue, 20 Mar 2001 08:01
10 lines
1052 bytes
Paul,

>     strBuffer.insert(125,'1');

If 125 is the offset position of "0" and you want to replace it by "1",
then it should just be
strBuffer.replace(125,125-,'1');

Regards,
Hartmut
Technical Details
Message-ID: <3ab70f1c_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!199.60.229.5!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!217.3.246.125
References: <3ab63d02.541139347@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,4e502a0d6ce62c2d
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-23 03:43:11 PST
From: "Hartmut" <hartmut.kiessling@bnhof.de>
Newsgroups: borland.public.jbuilder.java.language
References: <3ab63d02.541139347@newsgroups.borland.com>
Subject: Re: Changing a character in a file...
Date: Tue, 20 Mar 2001 09:01:35 +0100
Lines: 13
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.246.125
Message-ID: <3ab70f1c_2@dnews>
X-Trace: 20 Mar 2001 00:04:44 -0800, 217.3.246.125
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!199.60.229.5!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!217.3.246.125