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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2ac407a2a34565a9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.43.131.129 with SMTP id hq1mr1028551icc.5.1330548310790; Wed, 29 Feb 2012 12:45:10 -0800 (PST) Path: h9ni24149pbe.0!nntp.google.com!news1.google.com!news.glorb.com!newsgate.cuhk.edu.hk!news.netfront.net!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Array Help? Date: Wed, 29 Feb 2012 13:45:08 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: <10615783-d4a9-4cbd-8971-53ba1100d6a0@b18g2000vbz.googlegroups.com> <17412419.40.1330534213855.JavaMail.geo-discussion-forums@vbva11> NNTP-Posting-Host: 97.215.242.167 Mime-Version: 1.0 X-Trace: adenine.netfront.net 1330548310 41070 97.215.242.167 (29 Feb 2012 20:45:10 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Wed, 29 Feb 2012 20:45:10 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-02-29T13:45:08-07:00 List-Id: On 02/29/2012 12:45 PM, stefan-lucks@see-the.signature wrote: > > First := X'First; > while First< X'Last and then X(First) = ' ' loop > First := First + 1; > end loop; > return X(First .. X'Last); Ada.Strings.Fixed.Index_Non_Blank? -- 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 --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---