DATA Step, Macro, Functions and more

The COMPRESS function used with a modifier ?

Accepted Solution Solved
Reply
Super Contributor
Posts: 297
Accepted Solution

The COMPRESS function used with a modifier ?

[ Edited ]

Hello:

 

Could someone let me know what are the ‘kd’, ‘ka’,’a’, ‘d’, ‘A’, ‘D’ referring to? Is 'a' the same as 'A' and 'd' the same as 'D'? Thanks.

 

names=cats(compress(names,"_","ka"),compress(names,"_","kd"));

names=cats(compress(names,"_","d"), compress(names,"_","a"));

num=compress(name,'_','A');                                                        

name2=compress(name,' ','D');


Accepted Solutions
Solution
‎06-29-2017 11:43 AM
Super User
Posts: 10,485

Re: The COMPRESS function used with a modifier ?

Have you tried highlighting the function and pressing the F1 key?

If you have the online help installed that should bring up the online help for the function.

View solution in original post


All Replies
Valued Guide
Posts: 797

Re: The COMPRESS function used with a modifier ?

Yes, google can

 

Search for

   sas compress function options

 

Solution
‎06-29-2017 11:43 AM
Super User
Posts: 10,485

Re: The COMPRESS function used with a modifier ?

Have you tried highlighting the function and pressing the F1 key?

If you have the online help installed that should bring up the online help for the function.

Super Contributor
Posts: 297

Re: The COMPRESS function used with a modifier ?

I got them now, thanks.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 105 views
  • 2 likes
  • 3 in conversation