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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,decb0c44a2cbd5dc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-01 09:04:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!cyclone.columbus.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!typhoon.san.rr.com!not-for-mail Message-ID: <3C5ACA9A.36D9C75B@san.rr.com> From: Darren New X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: How to delete charcters in a string? References: <4519e058.0201310647.3637d7a9@posting.google.com> <3C596BE4.D0F1BFCB@otelco.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 01 Feb 2002 17:05:10 GMT NNTP-Posting-Host: 66.75.151.160 X-Complaints-To: abuse@rr.com X-Trace: typhoon.san.rr.com 1012583110 66.75.151.160 (Fri, 01 Feb 2002 09:05:10 PST) NNTP-Posting-Date: Fri, 01 Feb 2002 09:05:10 PST Organization: Road Runner Xref: archiver1.google.com comp.lang.ada:19493 Date: 2002-02-01T17:05:10+00:00 List-Id: 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.