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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,db8ef2e54cb04ab9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!t10g2000yqg.googlegroups.com!not-for-mail From: Jerry Newsgroups: comp.lang.ada Subject: Re: Unbounded String to string Date: Thu, 1 Jul 2010 00:18:01 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3de8e47e-302b-40a8-a296-c34b89ee2a7d@t10g2000yqg.googlegroups.com> References: <004d7e0b-cf0a-4a71-ac7e-17b61818b910@5g2000yqz.googlegroups.com> NNTP-Posting-Host: 75.172.199.214 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1277968681 22059 127.0.0.1 (1 Jul 2010 07:18:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 1 Jul 2010 07:18:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t10g2000yqg.googlegroups.com; posting-host=75.172.199.214; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/531.21.8+(KHTML, like Gecko, Safari/528.16) OmniWeb/v622.11.0,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:13045 Date: 2010-07-01T00:18:01-07:00 List-Id: On Jun 29, 7:28=A0am, tonyg wrote: > Hi, > =A0 =A0I have an unbounded string from a database I want to turn into a 1= 6 > character subtype of string > > i.e. unbounded_string to string(1..16) > > I've been trying to do this most of the afternoon but keep getting > errors > > anyone know how ? > > Thanks Check out Head, Tail, and possibly Trim. Jerry