comp.lang.ada
 help / color / mirror / Atom feed
From: Darren New <dnew@san.rr.com>
Subject: Re: How to delete charcters in a string?
Date: Fri, 01 Feb 2002 17:05:10 GMT
Date: 2002-02-01T17:05:10+00:00	[thread overview]
Message-ID: <3C5ACA9A.36D9C75B@san.rr.com> (raw)
In-Reply-To: 3C596BE4.D0F1BFCB@otelco.net

Larry Hazel wrote:
> Since a null character in Ada means
> (essentially) "no character here", rather than end of string, could you just
> replace the character you want to delete with a null character?

Actually, that would be the "DEL" character. That's why it's at the high
end of the ASCII table, after all, because with all seven bits set, you
can overwrite any pattern of holes in a paper tape with it. ;-)

-- 
Darren New 
San Diego, CA, USA (PST). Cryptokeys on demand.
  The opposite of always is sometimes.
   The opposite of never is sometimes.



  parent reply	other threads:[~2002-02-01 17:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-30  0:25 How to delete charcters in a string? Anthony Wise
2002-01-30  2:44 ` Steve Doiel
2002-01-30  3:22 ` dale
2002-01-30  6:37   ` tmoran
2002-01-30  7:49     ` Dale Stanbrough
2002-01-30 15:04       ` Marin David Condic
2002-01-30 11:21 ` Preben Randhol
2002-01-30 15:15   ` Marin David Condic
2002-01-31 14:47 ` Ted Dennison
2002-01-31 16:08   ` Larry Hazel
2002-02-01 15:59     ` Ted Dennison
2002-02-01 17:05     ` Darren New [this message]
2002-02-01  6:14   ` tmoran
2002-02-01 15:56     ` Stephen Leake
2002-02-01 17:53       ` Pascal Obry
2002-02-18  3:48         ` David Thompson
2002-02-18 19:44           ` Stephen Leake
     [not found] <F207EAsx2Pwf500RR1h00019d09@hotmail.com>
2002-01-30  1:16 ` Eric Merritt
2002-01-30  1:16 ` Eric Merritt
replies disabled

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