I have the variable value as this in my dataset
Randomized,^nControl ,^nCrossr^n safety/efficacy/clinical trial
^n used to in the proc report to read every word after this will display in next line (excapechar=^)
like this need to be displayed in my excel ods shell
Randomized,
control placebo,
cross,
safety/efficacy/clinical trial
But it displaying as
Randomized,
control placebo,
cross,
safety/efficacy/clinical
trial
by the way this is the longest string in the Variable, I have small one before and after it, so assigned the length . any suggestions greatly appreciated
Well, an imperfect solution at best, but you could try replacing the space with an underscore. Like this:
safety/efficacy/clinical_trial. You could also try a non display character like '1A'x or '1F'x, but test thoroughly.
Jim
Have you ensured the width of the cell is large enough?
I tried increasing the cell width, but no use for some reason.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.