BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
dennis_oz
Quartz | Level 8

Hi please can anybody suggest how to remove this unwanted character .

 

Thanks .

 

 

dennis_oz_0-1626250318414.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
ErikLund_Jensen
Rhodochrosite | Level 12

Hi @dennis_oz 

 

Try translate('-','96'x)

View solution in original post

6 REPLIES 6
dennis_oz
Quartz | Level 8

 

dennis_oz_0-1626252426398.png

 

Hi please see the attached data .

 

there is a UTF-8  code  i.e x96 . tis needs to be replaced with  "-" 

 

so o/p should be  "Idameneo - Robina"

ErikLund_Jensen
Rhodochrosite | Level 12

Hi @dennis_oz 

 

Try translate('-','96'x)

dennis_oz
Quartz | Level 8
Thank you sooo much !!!
andreas_lds
Jade | Level 19

Looks like an encoding problem, three options to solve it:

  1. change the encoding of you sas session
  2. at the encoding-option to the infile-statement when reading the file
  3. change the encoding of the file before it is read

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
  • 6 replies
  • 1143 views
  • 4 likes
  • 4 in conversation