From: "David C. Hoos" <david.c.hoos.sr@ada95.com>
To: <comp.lang.ada@ada.eu.org>
Cc: <Reinert.Korsnes@ffi.no>
Subject: Re: String manupulation
Date: Thu, 23 Aug 2001 07:46:20 -0500
Date: 2001-08-23T07:46:20-05:00 [thread overview]
Message-ID: <mailman.998570741.27774.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 9m2ena$55b$1@snipp.uninett.no
I personally use the following definition:
Whitespace : constant Ada.Strings.Maps.Character_Set :=
Ada.Strings.Maps.To_Set
(Ada.Strings.Maps.Character_Range'((Character'Val (0), ' ')));
----- Original Message -----
From: "Reinert Korsnes" <Reinert.Korsnes@ffi.no>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Thursday, August 23, 2001 3:21 AM
Subject: Re: String manupulation
> David C. Hoos wrote:
>
> > Some additional style comments:
> >
> > 1. One might wish to extend the "Space" object
> > to be "Whitespace" with the appropriate set of
> > characters, in case one is reading a file with
> > tabs or other "whitespace" characters.
> >
>
> How do I define Whitespace ?
> I look at Ada.Characters.Latin-1 (find HT etc).
> Should I compose my own definition or is there something build-in
> and which I have not discovered ?
>
> reinert
>
> ...snip...
>
> --
> http://home.chello.no/~rkorsnes
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
>
next prev parent reply other threads:[~2001-08-23 12:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-21 7:27 String manupulation Reinert Korsnes
2001-08-21 10:52 ` Georg Bauhaus
2001-08-21 12:52 ` David C. Hoos
2001-08-21 18:04 ` Randy Brukardt
2001-08-22 8:15 ` Reinert Korsnes
2001-08-22 15:53 ` Ted Dennison
2001-08-22 16:09 ` Ted Dennison
2001-08-22 16:23 ` David C. Hoos
2001-08-22 16:45 ` Ted Dennison
2001-08-23 8:21 ` Reinert Korsnes
2001-08-23 12:46 ` David C. Hoos [this message]
2001-08-22 16:39 ` Warren W. Gay VE3WWG
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox