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;
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.