comp.lang.ada
 help / color / mirror / Atom feed
From: Egil H H <ehh.public@gmail.com>
Subject: Re: Substrings as argument to procedures/functions
Date: Wed, 13 Apr 2016 05:47:43 -0700 (PDT)
Date: 2016-04-13T05:47:43-07:00	[thread overview]
Message-ID: <8d30aa28-80f3-4a4a-8577-22593e71736a@googlegroups.com> (raw)
In-Reply-To: <861t69r8r9.fsf@gaheris.avalon.lan>

On Wednesday, April 13, 2016 at 2:42:04 PM UTC+2, Mart van de Wege wrote:
> I do have a minor question here though: That does not work if you have
> any reason to try and modify the first character of a String. S(1) :=
> To_Upper(S(1)) works, but S'First := To_Upper(S'First) does not.
> 
> So how do I handle that particular case?

S(S'First) := To_Upper(S(S'First));

-- 
~egilhh

  reply	other threads:[~2016-04-13 12:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12  8:25 Substrings as argument to procedures/functions reinkor
2016-04-12  9:01 ` Dmitry A. Kazakov
2016-04-12 16:55   ` reinkor
2016-04-12 18:37     ` Dmitry A. Kazakov
2016-04-13  4:44       ` reinkor
2016-04-13  7:19         ` Dmitry A. Kazakov
2016-04-13 10:16         ` Brian Drummond
2016-04-13 11:43           ` reinkor
2016-04-13 11:54             ` Pascal Obry
2016-04-13 12:30               ` Mart van de Wege
2016-04-13 12:47                 ` Egil H H [this message]
2016-04-13 13:19                   ` Mart van de Wege
2016-04-13 16:57                 ` Jeffrey R. Carter
2016-04-12 18:17 ` Robert A Duff
2016-04-12 18:34 ` Jeffrey R. Carter
2016-04-13 21:29   ` Randy Brukardt
2016-04-25 15:33     ` rieachus
2016-04-25 22:07       ` Randy Brukardt
2016-04-26  6:12         ` Georg Bauhaus
2016-04-26 18:41           ` Randy Brukardt
2016-04-13 11:22 ` G.B.
replies disabled

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