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: Darren Davenport Subject: Re: Parsing a line into strings Date: 1998/07/09 Message-ID: <35a52ade.0@news-in.dtc.net>#1/1 X-Deja-AN: 370013227 Sender: Darren Davenport References: <35A3A199.D55C3153@oit.edu> Newsgroups: comp.lang.ada Date: 1998-07-09T00:00:00+00:00 List-Id: C N wrote: : Hi all, : I've been looking for a comand in Ada that is equivilent to C's : "strtok" . So far - no luck. : I need to break up a line that is read in from a file with the strings : delimited by comas and spaces. : If this command does'nt exhist, would anyone be willing to share a : chunk of code they've developed that performs this operation? : Any and all responses are greatly appreaciated, : -=Chris=- : -=// "Even a blind squrrel finds a nut once in a while." \\=- 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. darren (Remove NOSPAM for email address)