From: Mart van de Wege <mvdwege@gmail.com>
Subject: Re: Substrings as argument to procedures/functions
Date: Wed, 13 Apr 2016 15:19:19 +0200
Date: 2016-04-13T15:19:19+02:00 [thread overview]
Message-ID: <86wpo1prxk.fsf@gaheris.avalon.lan> (raw)
In-Reply-To: 8d30aa28-80f3-4a4a-8577-22593e71736a@googlegroups.com
Egil H H <ehh.public@gmail.com> writes:
> 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));
D'uh. Imagine me slapping my hand against my forehead right now.
--
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.
next prev parent reply other threads:[~2016-04-13 13:19 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
2016-04-13 13:19 ` Mart van de Wege [this message]
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