comp.lang.ada
 help / color / mirror / Atom feed
From: Wes Groleau <wwgrol@ftw.rsc.raytheon.com>
Subject: Re: End of a string????
Date: 2000/10/13
Date: 2000-10-13T00:00:00+00:00	[thread overview]
Message-ID: <39E74034.9C8116C@ftw.rsc.raytheon.com> (raw)
In-Reply-To: 39E6F59F.B712234B@cntw.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)

-- 
Wes Groleau
http://freepages.genealogy.rootsweb.com/~wgroleau




  reply	other threads:[~2000-10-13  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-10  0:00 End of a string???? Ryuji Yokoyama
2000-10-10  0:00 ` tmoran
2000-10-10  0:00 ` Ted Dennison
2000-10-13  0:00 ` Per Sandberg
2000-10-13  0:00   ` Wes Groleau [this message]
2000-10-13  0:00     ` David C. Hoos, Sr.
2000-10-14  0:00       ` Wes Groleau
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox