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!news4.google.com!out03b.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!nx01.iad01.newshosting.com!newshosting.com!204.127.204.223.MISMATCH!wns13feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Reading and writing a big file in Ada (GNAT) on Windows XP References: <0hj5339mjmond132qhbn2o01unurs61lbj@4ax.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1177894116 12.201.97.213 (Mon, 30 Apr 2007 00:48:36 GMT) NNTP-Posting-Date: Mon, 30 Apr 2007 00:48:36 GMT Organization: AT&T ASP.att.net Date: Mon, 30 Apr 2007 00:48:36 GMT Xref: g2news1.google.com comp.lang.ada:15408 Date: 2007-04-30T00:48:36+00:00 List-Id: 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? -- Jeff Carter "You've got the brain of a four-year-old boy, and I bet he was glad to get rid of it." Horse Feathers 47