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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bf52245c1c52e2e9 X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: End of a string???? Date: 2000/10/13 Message-ID: <8s7j4g$njc$1@hobbes2.crc.com>#1/1 X-Deja-AN: 681106812 References: <39E6F59F.B712234B@cntw.com> <39E74034.9C8116C@ftw.rsc.raytheon.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Complaints-To: abuse@crc.com X-Trace: hobbes2.crc.com 971460560 24172 198.175.145.56 (13 Oct 2000 18:09:20 GMT) Organization: CRC: A wholly owned subsidiary of Thermo Electron X-MSMail-Priority: Normal NNTP-Posting-Date: 13 Oct 2000 18:09:20 GMT Newsgroups: comp.lang.ada Date: 2000-10-13T18:09:20+00:00 List-Id: "Wes Groleau" wrote in message news:39E74034.9C8116C@ftw.rsc.raytheon.com... > Just in case we're talking to a newcomer, let's be precise: > > > If your construct is > > procedure foo( s : string) is ... > > > > And you want to know the last char of the string the answer is > > s(s'last) > > > The length is: > > s(s'first) Whaaaaaaaat??? How precise (correct) is the above? > > -- > Wes Groleau > http://freepages.genealogy.rootsweb.com/~wgroleau