The SAS Output Delivery System and reporting techniques

how to insert the symbol ≠

Reply
N/A
Posts: 0

how to insert the symbol ≠

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
Super Contributor
Super Contributor
Posts: 3,174

Re: how to insert the symbol ≠

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.
Super Contributor
Super Contributor
Posts: 3,174

Re: how to insert the symbol ≠

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.
SAS Super FREQ
Posts: 8,744

Re: how to insert the symbol ≠

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]
N/A
Posts: 0

Re: how to insert the symbol ≠

Thank you
Ask a Question
Discussion stats
  • 4 replies
  • 191 views
  • 0 likes
  • 3 in conversation