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=2.1 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY,PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,21162150cec9bc17 X-Google-Attributes: gid103376,public From: "Pascal Obry" Subject: Re: String Length Date: 1998/10/02 Message-ID: <6v2ggj$p73$1@cf01.edf.fr>#1/1 X-Deja-AN: 397023603 References: <36140400.0@news.cyberenet.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: EDF Newsgroups: comp.lang.ada Date: 1998-10-02T00:00:00+00:00 List-Id: mincus a �crit dans le message <36140400.0@news.cyberenet.net>... >If anyone knows how to determine the size of a string I would be very >grateful. > >I thought that I could do a > >string'last > >and that would return the position of the last char, but I just get an >error, please help > >mincus > > Given a string like : Message : String (2 .. 4) := "abc"; Message'First = 2 Message'Last = 4 Message'Lenght = 3 -- this is the size of the string Pascal.