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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,992e84f408e149d8 X-Google-Attributes: gid103376,public From: franke@minet.uni-jena.de (Frank Ecke) Subject: Re: How to initiate part of a string? Date: 1998/08/26 Message-ID: #1/1 X-Deja-AN: 384829539 References: <35E171AB.75CD@ddre.dk> Organization: Friedrich-Schiller-University Jena, Germany Reply-To: franke@minet.uni-jena.de Newsgroups: comp.lang.ada Date: 1998-08-26T00:00:00+00:00 List-Id: On Mon, 24 Aug 1998 14:59:07 +0100, Hans Marqvardsen 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