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.6 required=5.0 tests=BAYES_20,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e1db3171dee75056 X-Google-Attributes: gid103376,public From: maggiejohn@aol.com (MaggieJohn) Subject: Re: Strings Date: 2000/05/27 Message-ID: <20000527160256.22891.00000308@ng-fw1.aol.com>#1/1 X-Deja-AN: 628044971 References: <8gntbr$mei$2@news.cowan.edu.au> Organization: AOL http://www.aol.com Newsgroups: comp.lang.ada X-Admin: news@aol.com Date: 2000-05-27T00:00:00+00:00 List-Id: Loop through your string and check that each character is between 'a' and 'z' or 'A' and 'Z'. Are you familiar with ASCII codes? Your string is made up of ASCII codes. Some are for letters, which sounds like what you want. Some are for numbers, punctuation, and some are non-printable control characters. - Maggie "Karlene" asked: How can you validate a string (eg a name of a person) to check that it only contains characters, not integers? I have tried exceptions in my program, but it dosent seem to cover it.