From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4fbd260da735f6f4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!gnilink.net!trnddc05.POSTED!72fcb693!not-for-mail From: Fionn Mac Cumhaill Newsgroups: comp.lang.ada Subject: Re: Reading and writing a big file in Ada (GNAT) on Windows XP Message-ID: References: <0hj5339mjmond132qhbn2o01unurs61lbj@4ax.com> X-Newsreader: Forte Agent 4.2/32.1117 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 30 Apr 2007 02:30:34 GMT NNTP-Posting-Host: 71.170.31.60 X-Complaints-To: abuse@verizon.net X-Trace: trnddc05 1177900234 71.170.31.60 (Sun, 29 Apr 2007 22:30:34 EDT) NNTP-Posting-Date: Sun, 29 Apr 2007 22:30:34 EDT Xref: g2news1.google.com comp.lang.ada:15409 Date: 2007-04-30T02:30:34+00:00 List-Id: On Mon, 30 Apr 2007 00:48:36 GMT, "Jeffrey R. Carter" wrote: >Fionn Mac Cumhaill wrote: >> >> I use Index to search for the string that needs to be replaced. if the >> returned value is not zero, that line needs to be changed. In 99.99% >> of the changes, I look for ", '')," and replace it with ")," > >In a previous post, you said the pattern is found near the end of the >string. Can you use the "Going => Backward" option to Index, and if so, >do you? I didn't try that, but I will when I get back to work.