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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7fc767abbf17c947 X-Google-Attributes: gid103376,public From: eachus@spectre.mitre.org (Robert I. Eachus) Subject: Re: Parsing a line into strings Date: 1998/07/10 Message-ID: #1/1 X-Deja-AN: 370266559 References: <35A3A199.D55C3153@oit.edu> <35a52ade.0@news-in.dtc.net> Organization: The Mitre Corp., Bedford, MA. Newsgroups: comp.lang.ada Date: 1998-07-10T00:00:00+00:00 List-Id: In article <35a52ade.0@news-in.dtc.net> Darren Davenport writes: > Why wouldn't Find_Token from one of the Ada.Strings.* packages > work? Seems to me like it's fairly equivalent and doesn't require > roll-your-own code or the non-portable Spitbol. I was wondering how long it would take for someone to suggest this. Note that Find_Token is a little more general that strtok, since you can test for (in this case) tokens delimited by comma or space, or better, test by enumerating all the characters permitted in tokens. -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...