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
Diamond | Level 26
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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 2250 views
  • 0 likes
  • 3 in conversation