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;
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.