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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fff7eeabc7a7bc9c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-22 10:00:06 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-04!supernews.com!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9lt2pe$lrm$1@snipp.uninett.no> <9lu7r2$3vp$1@news.online-isp.com> <9lvq0p$cpm$1@snipp.uninett.no> <0AQg7.10582$2u.75569@www.newsranger.com> Subject: Re: String manupulation Message-ID: <_kRg7.10746$2u.76747@www.newsranger.com> X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Wed, 22 Aug 2001 12:45:46 EDT Organization: http://www.newsranger.com Date: Wed, 22 Aug 2001 16:45:46 GMT Xref: archiver1.google.com comp.lang.ada:12257 Date: 2001-08-22T16:45:46+00:00 List-Id: In article , David C. Hoos says... > >Some additional style comments: >2. The use of a construct like FS'Length would > better be replaced with FS'Last to cover cases like > the string being parsed is an input parameter to the > subprogram, and the caller calls with a slice not > starting with index 1. Good catch. I missed that one. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com