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-7-bit Received: by 10.68.201.129 with SMTP id ka1mr8746894pbc.6.1331001023184; Mon, 05 Mar 2012 18:30:23 -0800 (PST) Path: h9ni44215pbe.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: Can I convert a string of letters into an array? Date: Mon, 5 Mar 2012 18:22:40 -0800 (PST) Organization: http://groups.google.com Message-ID: <13229914.4732.1331000560239.JavaMail.geo-discussion-forums@vbkl3> References: <9891847.4305.1330998375979.JavaMail.geo-discussion-forums@vbai14> NNTP-Posting-Host: 24.230.151.194 Mime-Version: 1.0 X-Trace: posting.google.com 1331001023 11702 127.0.0.1 (6 Mar 2012 02:30:23 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 6 Mar 2012 02:30:23 +0000 (UTC) In-Reply-To: <9891847.4305.1330998375979.JavaMail.geo-discussion-forums@vbai14> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=24.230.151.194; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-03-05T18:22:40-08:00 List-Id: On Monday, March 5, 2012 7:46:15 PM UTC-6, Will wrote: > Hey There, > > 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 sorting it? > > Thanks a bunch, > > Will You don't need to, an Ada String already is an array. Type String is array ( positive range <> ) of Standard.Character;