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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fff7eeabc7a7bc9c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-21 05:52:57 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "David C. Hoos" Newsgroups: comp.lang.ada Subject: Re: String manupulation Date: Tue, 21 Aug 2001 07:52:26 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <9lt2pe$lrm$1@snipp.uninett.no> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 998398375 88378 137.194.161.2 (21 Aug 2001 12:52:55 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 21 Aug 2001 12:52:55 +0000 (UTC) Cc: To: Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:12165 Date: 2001-08-21T07:52:26-05:00 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" Newsgroups: comp.lang.ada To: 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 >