Hello Experts,
I'm wonderign how to put the spaces befor "Fixes" and "Variables" in proc odstext in my e-mail
proc odstext;
p "Bonjour,";
p "";
p "Pour lalalalla.";
p "";
p "Ces lalala:";
p " - Fixes lalala,";
p " - Variables, lalalal.";
p "";
p "";
p "Bien cordialement,";
p "";
run;
ods _all_ close;
filename myemail clear;
Thank you for your help !
Finally, I found this : https://communities.sas.com/t5/SAS-Programming/Proc-ODS-text-in-PowerPoint/td-p/354175
%let spaces=^{unicode 00A0}^{unicode 00A0}^{unicode 00A0}^{unicode 00A0}^{unicode 00A0};
proc odstext;
p "Hello";
p "&spaces Hello";
p "&spaces &spaces Hello";
run;
Are you sending a pure-text mail or html?
I used the style-option asis=on when creating excel files with strange indentation, not sure if this work with html + mail.
Use TAB character instead ?
p " '09'x - Fixes lalala,"; p " '09'x - Variables, lalalal.";
Finally, I found this : https://communities.sas.com/t5/SAS-Programming/Proc-ODS-text-in-PowerPoint/td-p/354175
%let spaces=^{unicode 00A0}^{unicode 00A0}^{unicode 00A0}^{unicode 00A0}^{unicode 00A0};
proc odstext;
p "Hello";
p "&spaces Hello";
p "&spaces &spaces Hello";
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.