comp.lang.ada
 help / color / mirror / Atom feed
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: Tue, 21 Aug 2001 07:52:26 -0500
Date: 2001-08-21T07:52:26-05:00	[thread overview]
Message-ID: <mailman.998398351.8844.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 9lt2pe$lrm$1@snipp.uninett.no

This is a job for Ada.Strings.Fixed.Find_Token

You would specify the whitespace characters as the
parameter "set," and "outside" as the membership test.

----- Original Message -----
From: "Reinert Korsnes" <Reinert.Korsnes@ffi.no>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Tuesday, August 21, 2001 2:27 AM
Subject: String manupulation


> Hi,
>
> I just wondered if there is a simple/direct way (in Ada) to split
> a string with words (for example "abc    defg  2.56  hijklm")
> into stings each containing one word ("abc", "defg", "2.56" and "hijklm")
?
>
> Something like the functions of Ada.Command_Line ?
>
> Yes, I can program this myself, but maybe I should use something
> "standard" ?
>
> reinert
>
> --
> 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
>




  parent reply	other threads:[~2001-08-21 12:52 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 [this message]
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
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