comp.lang.ada
 help / color / mirror / Atom feed
From: Dale Stanbrough <dale@cs.rmit.edu.au>
Subject: Re: String handling???
Date: Sun, 24 Jun 2001 12:30:12 GMT
Date: 2001-06-24T12:30:12+00:00	[thread overview]
Message-ID: <dale-E34A78.22301224062001@mec2.bigpond.net.au> (raw)
In-Reply-To: 3B362243.EA4AA94E@ida.his.se

Michael Andersson wrote:

> Hi!
> I'm currently trying to write a text file parser from my collage project
> and I'm looking for some functions i Ada that works like the sprint
> function in C. Is there such a function?
> The thing is that I want to extract numbers from a string and I don't
> know how.


You can achieve some of this by using the put routines, with
a string as the first parameter, rather than a file.

All the usual caveats for dealing with Ada strings remain, such
as constantly remebering where you are up to when appending
new values.

Dale



  reply	other threads:[~2001-06-24 12:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-24 17:24 String handling??? Michael Andersson
2001-06-24 12:30 ` Dale Stanbrough [this message]
2001-06-24 12:30 ` David C. Hoos, Sr.
2001-06-24 12:49 ` Larry Kilgallen
2001-06-24 23:56 ` Jeffrey Carter
replies disabled

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