comp.lang.ada
 help / color / mirror / Atom feed
From: franke@minet.uni-jena.de (Frank Ecke)
Subject: Re: How to initiate part of a string?
Date: 1998/08/26
Date: 1998-08-26T00:00:00+00:00	[thread overview]
Message-ID: <slrn6u7ah3.9v3.franke@paxp01.mipool.uni-jena.de> (raw)
In-Reply-To: 35E171AB.75CD@ddre.dk

On Mon, 24 Aug 1998 14:59:07 +0100, Hans Marqvardsen <hm@ddre.dk> wrote:

> Is there a clean way to specify an initial value for a slice of Txt ?


After with'ing and use'ing Ada.Strings and Ada.Strings.Fixed,

   Txt : String(1 .. 100) := Replace_Slice(100 * Space, 50, 54, "Hello");

should do the trick.


Hope this helps.



Regards,

Frank




  parent reply	other threads:[~1998-08-26  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-24  0:00 How to initiate part of a string? Hans Marqvardsen
1998-08-25  0:00 ` Tom Moran
1998-08-25  0:00   ` Samuel Tardieu
1998-08-26  0:00     ` Tom Moran
1998-08-26  0:00       ` Robert I. Eachus
1998-08-26  0:00         ` Tom Moran
1998-09-24  0:00           ` Bob Fletcher
1998-09-24  0:00             ` Tom Moran
1998-09-25  0:00               ` dewarr
1998-09-29  0:00                 ` Aidan Skinner
1998-09-19  0:00       ` dewarr
1998-08-25  0:00 ` Mark A Biggar
1998-08-26  0:00 ` Frank Ecke [this message]
1998-08-26  0:00   ` Robert I. Eachus
1998-08-26  0:00 ` Mats Weber
1998-08-26  0:00   ` Frank Ecke
replies disabled

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