BookmarkSubscribeRSS Feed
NJGIRL
Obsidian | Level 7

Hello All!

I am trying to read in an excel spreadsheet -- I am getting these 'funny' characters , which I believe is caused by ENTER key (?) . I have tried using the option ENCODING=Yes and SAS server UTF8 , which usually works, however this time I am stumped!

 

I have attached an example of my results. Thank you.

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

Many people will not look at MS Office files.

Tom
Super User Tom
Super User

Those don't look like either CR or LF, which is what a line break would look like.

Ask SAS to show you want characters they are by using the $HEX format.

data _null_;
  set have (obs=5);
  put item_desc $hex.;
run;

Ready to join fellow brilliant minds for the SAS Hackathon?

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!
How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 533 views
  • 1 like
  • 3 in conversation