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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,612990d6f00ea42 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.74.201 with SMTP id w9mr4885145pbv.0.1331200083395; Thu, 08 Mar 2012 01:48:03 -0800 (PST) Path: h9ni1940pbe.0!nntp.google.com!news2.google.com!postnews.google.com!gw9g2000vbb.googlegroups.com!not-for-mail From: tonyg Newsgroups: comp.lang.ada Subject: Re: Can I convert a string of letters into an array? Date: Thu, 8 Mar 2012 01:48:03 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <9891847.4305.1330998375979.JavaMail.geo-discussion-forums@vbai14> <3994111.4442.1331003406394.JavaMail.geo-discussion-forums@vblb5> NNTP-Posting-Host: 195.58.145.51 Mime-Version: 1.0 X-Trace: posting.google.com 1331200083 13726 127.0.0.1 (8 Mar 2012 09:48:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 8 Mar 2012 09:48:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: gw9g2000vbb.googlegroups.com; posting-host=195.58.145.51; posting-account=28F2IwkAAACL1Z5nRC-dE7zuvWdbWC7P User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.16) Gecko/20120131 Iceweasel/3.5.16 (like Firefox/3.5.16),gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-03-08T01:48:03-08:00 List-Id: On Mar 6, 3:10=A0am, Will wrote: > On Monday, March 5, 2012 9:58:46 PM UTC-5, Jeffrey Carter wrote: > > On 03/05/2012 06:46 PM, Will wrote: > > > > How do I convert a string of letters into an array? I am not sure how= to sort > > > the letters in the form of a string but I know how to do it using an = array. > > > Then how do I convert that array back to a string after I am done sor= ting > > > it? > > > You could instantiate Ada.Containers.Generic_Array_Sort for the array t= ype String. > > > -- > > Jeff Carter > > "Sir Lancelot saves Sir Gallahad from almost certain temptation." > > Monty Python & the Holy Grail > > 69 > > Jeff, I am a beginner at Ada, so I have no idea what you mean by that ha = ha? I've been using Ada since 1987 (not all the time) and I'm still finding useful stuff I didn't know about it. I'm also still ask stuff in here pretty regularly :)