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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Question about the package "Strings_Edit" Date: Wed, 22 Jul 2015 10:24:02 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Wed, 22 Jul 2015 17:22:34 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="a3855fbfe1a666be9aefba0563039ed5"; logging-data="10033"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eyYRsN76pO8FloXIODKh0U8CvlEiHGXs=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-Reply-To: Cancel-Lock: sha1:8IIdUdioxrFn7D7XR8HU+QW0DVM= Xref: news.eternal-september.org comp.lang.ada:26989 Date: 2015-07-22T10:24:02-07:00 List-Id: On 07/22/2015 01:23 AM, Laurent wrote: > > I found the package Strings_Edit while trying to find a Trim function to get rid of the leading space of 'Img First place to look is the standard Ada library, described in the ARM Annex A http://www.adaic.org/resources/add_content/standards/12rm/html/RM-A.html You'll find pkg Ada.Strings.Fixed, which contains Trim, among many other useful operations. http://www.adaic.org/resources/add_content/standards/12rm/html/RM-A-4-3.html -- Jeff Carter "Sir Robin the not-quite-so-brave-as-Sir-Lancelot, who had nearly fought the Dragon of Angnor, who nearly stood up to the vicious Chicken of Bristol, and who had personally wet himself at the Battle of Badon Hill." Monty Python & the Holy Grail 68