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: Wes Groleau Subject: Re: End of a string???? Date: 2000/10/13 Message-ID: <39E74034.9C8116C@ftw.rsc.raytheon.com>#1/1 X-Deja-AN: 681068565 Content-Transfer-Encoding: 7bit References: <39E6F59F.B712234B@cntw.com> X-Accept-Language: en,es,fr,pt Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 971456566 151.168.144.162 (Fri, 13 Oct 2000 13:02:46 EDT) Organization: Raytheon Company MIME-Version: 1.0 NNTP-Posting-Date: Fri, 13 Oct 2000 13:02:46 EDT Newsgroups: comp.lang.ada Date: 2000-10-13T00:00:00+00:00 List-Id: 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) -- Wes Groleau http://freepages.genealogy.rootsweb.com/~wgroleau