Hello Experts,
My SAS program doesn't work, because I have a flash "->" instead of point "." before the CRLF:
Do you know, pease, how to replace this special character automatically via Notepad++ ?
Thank you very much !
Is that character in the source code for your program? Or some data file your program is reading?
Either way try looking at the file using SAS to see what actual hex code it is that is there before the end of line.
Perhaps by running a program like this to get the last byte before the end of line for each line in a file.
data lastch ;
infile 'myfile.txt' length=linelength truncover;
row+1;
input @;
if linelength > 0;
input @linelength char $char1. ;
hex=put(char,$hex2.);
run;
proc freq data=lastch;
tables hex*char / list;
run;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.