comp.lang.ada
 help / color / mirror / Atom feed
From: Darren Davenport <dcd2@NOSPAMnov.diac.com>
Subject: Re: Parsing a line into strings
Date: 1998/07/09
Date: 1998-07-09T00:00:00+00:00	[thread overview]
Message-ID: <35a52ade.0@news-in.dtc.net> (raw)
In-Reply-To: 35A3A199.D55C3153@oit.edu

C N <netzelc@oit.edu> 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)





  parent reply	other threads:[~1998-07-09  0:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-08  0:00 Parsing a line into strings C N
1998-07-08  0:00 ` Samuel Tardieu
1998-07-08  0:00   ` C N
1998-07-09  0:00     ` Dmitriy Anisimkov
1998-07-08  0:00       ` Brian Rogoff
1998-07-08  0:00         ` nabbasi
1998-07-09  0:00           ` Robert Dewar
1998-07-09  0:00             ` Michael F Brenner
1998-07-14  0:00             ` Norman H. Cohen
1998-07-15  0:00               ` Robert I. Eachus
1998-07-18  0:00                 ` Robert Dewar
1998-07-08  0:00         ` Robert Dewar
1998-07-09  0:00           ` Brian Rogoff
1998-07-09  0:00 ` dennison
1998-07-09  0:00 ` Darren Davenport [this message]
1998-07-10  0:00   ` Robert I. Eachus
1998-07-09  0:00 ` Dale Stanbrough
1998-07-11  0:00 ` david.c.hoos.sr
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox