BookmarkSubscribeRSS Feed
_LB
Fluorite | Level 6 _LB
Fluorite | Level 6
Back again...a newbie at ODS so I am doing this baby steps-
At any rates is there to do a similar "split" within a column so that the text wraps to the next line-

Incidentally I use proc format for the observations so that my proc format statement is:

value $unitsvap
'10 ICC'="ICC:10 &ICCVAP / Days without a VAP"
...code...

What I would like is that it splits after the / into two lines.

Thank you all again for your tips and advice...
Lawrence
2 REPLIES 2
Andre
Obsidian | Level 7
Take a look at this example from 'VAP to ...'
with an escape character you are able to use some facilities
like \n new line \_ unsecable blanc and so on see at

www2.sas.com/proceedings/forum2007/099-2007.pdf
written by a well known contributor of this discusson forum

[PRE]
proc format;
value $s
"M" = "really \n macho"
"F" = "uncredible \n vamp"
;
run;
ods escapechar="\";
ods listing close;
ods html file="d:\temp\line.htm" ;
title 'Special class' ;
proc freq data=sashelp.class;
tables sex;
format sex $s.;
run;
ods html close;
ods listing;

[/PRE]
_LB
Fluorite | Level 6 _LB
Fluorite | Level 6
Andre;
Worked very well! Thank you!
Lawrence

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 983 views
  • 0 likes
  • 2 in conversation