From: "Steve" <nospam_steved94@comcast.net>
Subject: Re: character matching
Date: Sun, 15 Aug 2004 17:21:02 GMT
Date: 2004-08-15T17:21:02+00:00 [thread overview]
Message-ID: <2YMTc.14972$TI1.10775@attbi_s52> (raw)
In-Reply-To: uNITc.3402$BA5.883@hydra.nntpserver.com
First have a look at the standard library Ada.Characters.Handling
You'll find goodies such as:
function Is_Alphanumeric (Item : in Character) return Boolean;
Then have alook at Ada.Strings.Maps. There you'll find:
function Is_In (Element : in Character;
Set : in Character_Set)
return Boolean;
I always recommend perusing the standard Ada library headers described in
Annex A of the Ada 95 reference manual. You'll find lots of tools that do
the grunt work for you.
Steve
(The Duck)
"John J" <g_001@hotmail.com> wrote in message
news:uNITc.3402$BA5.883@hydra.nntpserver.com...
> Thanks for the suggestions; however, I'm trying to learn a bit about the
> syntax and capabilities of ADA. Would someone be kind enough to give me
some
> examples of how I can use ADA to character match. ie, different ways I can
> use '*', '&' to successfully recognise words and sentences.
>
> Thanks
>
>
prev parent reply other threads:[~2004-08-15 17:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-13 5:23 character matching John J
2004-08-13 10:33 ` David C. Hoos
2004-08-13 11:12 ` Nick Roberts
2004-08-13 18:41 ` Jeffrey Carter
2004-08-15 12:36 ` John J
2004-08-15 14:52 ` Ludovic Brenta
2004-08-15 21:02 ` Adrian Knoth
2004-08-16 22:26 ` Ludovic Brenta
2004-08-15 17:21 ` Steve [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox