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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.