BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello,
How can i do to insert the following symbol ≠ ?
because SAS doesn't knwow it and display an ? instead of my ≠
Thank you and have a nice day
4 REPLIES 4
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Where/how do you want to execute SAS code to "insert" the sign? This is important info for you to share.

Scott Barry
SBBWorks, Inc.
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Also, consider that you can search the SAS support http://support.sas.com/ website using the Google advanced search argument below -- there is SAS-hosted documentation and supplemental technical / conference reference material:

"not equal" sign site:sas.com


Scott Barry
SBBWorks, Inc.
Cynthia_sas
SAS Super FREQ
Hi:
If you have SAS 9.2, you can use the new Unicode function with ODS ESCAPECHAR to insert unicode characters such as the NE symbol into your output report as described here:
http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a002233270.htm#a003176459
http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a002233270.htm#a003186676

2260'x is the Unicode character for NE sign on my Windows character map.

cynthia
[pre]
ods rtf file='c:\temp\useuni.rtf';
ods pdf file='c:\temp\useuni.pdf';
ods html file='c:\temp\useuni.html' style=sasweb;

ods escapechar='^';

title h=14pt 'Use new UNICODE function for NE sign: ^{unicode 2260}' ;
proc print data=sashelp.class(obs=3) label;
label name='Name ^{unicode 2260}'
age = 'Age ^{unicode 2260}';
run;
ods _all_ close;
title;
[/pre]
deleted_user
Not applicable
Thank you

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
  • 4 replies
  • 1095 views
  • 0 likes
  • 3 in conversation