LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2001, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 26 Nov 2001 11:55:19 -0500
Reply-To:   Charles Patridge <Charles_S_Patridge@PRODIGY.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Charles Patridge <Charles_S_Patridge@PRODIGY.NET>
Subject:   Re: compress out special characters
Comments:   To: "McAllaster, Douglas L. LTC" <mcallasterd@LEE.ARMY.MIL>

Dear Doug, SIR <grin>

I believe the COMPRESS function will work, provided you pass the appropriate hex codes to the second argument:

ie myvar = compress( myvar, '00'x );

ie: data test; x = 'myvar' || '00'x || 'test'; y = compress(x, '00'x ); run;

In version 9, I believe there will be a WHOLE SLEW of new character/numeric functions that may help with this situation as well as a bunch of others.

HTH SIR!!! Regards, PFC Charles Patridge Email: Charles_S_Patridge@prodigy.net


Back to: Top of message | Previous page | Main SAS-L page