BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
PGStats
Opal | Level 21

Hi all, how can you control the position of text splits in Proc Report table cells? I tried using "/" and replacing unwanted splits with nonbreaking spaces but nothing does it. How can the equivalent of option SPLIT= be achieved for destination RTF? Thanks - PG

PG
1 ACCEPTED SOLUTION

Accepted Solutions
Tim_SAS
Barite | Level 11

PG, while those escape character sequences will certainly work, I'd like to point out that they've been superseded in new releases by the ODS inline functions documented here. For example (assuming the escape character is ~), the linefeed function is ~{newline} and nonbreaking space is ~{nbspace}.

View solution in original post

4 REPLIES 4
Linlin
Lapis Lazuli | Level 10

Hi PG,

I wish I were smart enough to provide an answer!:smileysilly::smileyblush:Smiley Sad

data_null__
Jade | Level 19

I think the soft break is /line.

Lookup the topic inline formatting, and provide and small example we can fiddle with.

Your gonna need to start learning RTF codes.  :smileycry:

PGStats
Opal | Level 21

Thanks DN for your answer and Linlin for your sympathy. I just found the answer in Art Carpenter's book :

  http://books.google.ca/books?id=2XaexgsBRQ0C&lpg=PA283&ots=odCUTOmL4s&dq=SAS%20%22proc%20report%22%2...

  Using escape character sequences such as ^1n for linefeed and ^_ for nonbreaking space does the trick.

PG


PG
Tim_SAS
Barite | Level 11

PG, while those escape character sequences will certainly work, I'd like to point out that they've been superseded in new releases by the ODS inline functions documented here. For example (assuming the escape character is ~), the linefeed function is ~{newline} and nonbreaking space is ~{nbspace}.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 875 views
  • 6 likes
  • 4 in conversation