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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,89426424bbf2d0d3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-24 05:17:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Help! Date: Mon, 24 Feb 2003 13:08:32 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3E5A05A2.3F1379EC@bton.ac.uk> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1046092112 6570 129.241.83.78 (24 Feb 2003 13:08:32 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Mon, 24 Feb 2003 13:08:32 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:34509 Date: 2003-02-24T13:08:32+00:00 List-Id: Paul Gregory wrote: > I'm having a few problems with my school ADA project. > > I have to write a program which translates 10 English words to French > but when it Translates a sentence it does it in upper case instead of a > capital letter for the first letter and lower case for the rest. > > Any ideas how I could get round this ? Is this the assignment or is it only a part of it? with Ada.Characters.Handling; use Ada.Characters.Handling; To_Lower (Your_String (Your_String'First + 1 .. Your_String'Last); -- Preben Randhol ---------------- http://www.pvv.org/~randhol/ -- "Violence is the last refuge of the incompetent", Isaac Asimov