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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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