Date: Mon, 11 Feb 2008 08:12:33 -0800
Reply-To: Perry <jasper6294@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Perry <jasper6294@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: Compress out special characters
Content-Type: text/plain; charset=ISO-8859-1
If you are using SAS 9, you can take advantage of the upgraded
functionality of the compress function. For your situation, I believe
that var_name = compress(var_name, , "kow") should do the trick.
HTH
On Feb 11, 10:26 am, smo...@ITR-LLC.COM (Susie Moyer) wrote:
> I am reading in an ascii txt file from the internet. I want to compress
> out all characters that are not actual keyboard keys (i.e. not numbers,
> letters, !@#$%^&*(), etc). I believe these charaters I want to compress
> out are for bolding and italics on the web version, but are being kept in
> the ascii text - they are coming through as little boxes if that helps at
> all. Thanks in advance.
|