BookmarkSubscribeRSS Feed
tinaz5012
Obsidian | Level 7

after deleting this, the blank page removed.

I have tried compress(cnt1, '0D0A'x); on every column of the output data, but doesn't work.

Shrink or expand column length not work either, anyone knows how to remove this from output rtf file?

 

tinaz5012_1-1729052378125.png

 

 

1 REPLY 1
Cynthia_sas
SAS Super FREQ

Hi: That paragraph mark is being displayed in your Microsoft Word because of the RTF control strings created in the RTF file. You can simply go into Word and look for the Show/Hide marks button on the Word menu to turn off the display of the paragraph symbol. As far as I know, 0D0A is the hex code for carriage return/line feed and is not necessarily the same as the code generated inside the RTF. I think that usually the RTF string for a paragraph is \par or \pard...you'd have to look in the RTF. But I don't usually recommend post-processing the RTF control strings because Word is very touchy if you mangle the RTF and then it won't display the file.
Cynthia

As an example, here's a simple display in Word of an RTF document.

Cynthia_sas_0-1729083435711.png

  The Hide/Show Marks button was turned on in Word. And that is just a small snippet of the RTF file.

 

SAS Innovate 2025: Register Today!

 

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 424 views
  • 0 likes
  • 2 in conversation