<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: &amp;quot;&amp;lt;&amp;quot; displaying as &amp;quot;&amp;amp;lt;&amp;quot; in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/quot-lt-quot-displaying-as-quot-amp-lt-quot/m-p/437386#M4637</link>
    <description>&lt;P&gt;There was a recent thread saying that SAS had updated the XLSX engine to avoid this.&lt;/P&gt;
&lt;P&gt;What version of SAS are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to fix it by just replacing the character.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data file;
  set file ;
  array _c _character_ ;
  do over _c ;
    _c=transwrd(_c,'&amp;amp;lt;','&amp;lt;');
  end;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or perhaps use the HTMLDECODE() function instead to catch other potential values.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2018 00:58:17 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2018-02-15T00:58:17Z</dc:date>
    <item>
      <title>"&lt;" displaying as "&amp;lt;"</title>
      <link>https://communities.sas.com/t5/SAS-Studio/quot-lt-quot-displaying-as-quot-amp-lt-quot/m-p/437382#M4636</link>
      <description>&lt;P&gt;Hi, I am using SAS University Edition and trying to import an excel file that has a variable named "group" with two strata: "&amp;lt; 10" and "≥ 10". I am using the lifetest procedure to compare the survival times of these two strata. On my Kaplan Meier curve, I want the legend to show the stratification of "group"; however, instead of "&amp;lt;", it displays "&amp;amp;lt;". The "&lt;SPAN&gt;≥" sign displays fine. The default text coding is set at UTF-8.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way to change "&amp;amp;lt;" so it displays properly as "&amp;lt;"? My code is below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PROC IMPORT DATAFILE="/folders/myfolders/file.xlsx"&lt;BR /&gt;OUT=WORK.file&lt;BR /&gt;DBMS=XLSX&lt;BR /&gt;REPLACE;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc lifetest data=file plots=survival;&lt;BR /&gt;time years*censor(0);&lt;BR /&gt;strata group;&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 00:43:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/quot-lt-quot-displaying-as-quot-amp-lt-quot/m-p/437382#M4636</guid>
      <dc:creator>sasuser110</dc:creator>
      <dc:date>2018-02-15T00:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: "&lt;" displaying as "&amp;lt;"</title>
      <link>https://communities.sas.com/t5/SAS-Studio/quot-lt-quot-displaying-as-quot-amp-lt-quot/m-p/437386#M4637</link>
      <description>&lt;P&gt;There was a recent thread saying that SAS had updated the XLSX engine to avoid this.&lt;/P&gt;
&lt;P&gt;What version of SAS are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to fix it by just replacing the character.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data file;
  set file ;
  array _c _character_ ;
  do over _c ;
    _c=transwrd(_c,'&amp;amp;lt;','&amp;lt;');
  end;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or perhaps use the HTMLDECODE() function instead to catch other potential values.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 00:58:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/quot-lt-quot-displaying-as-quot-amp-lt-quot/m-p/437386#M4637</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-02-15T00:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: "&lt;" displaying as "&amp;lt;"</title>
      <link>https://communities.sas.com/t5/SAS-Studio/quot-lt-quot-displaying-as-quot-amp-lt-quot/m-p/437389#M4638</link>
      <description>&lt;P&gt;Thank you! Your code fixed the problem. Much appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 01:05:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/quot-lt-quot-displaying-as-quot-amp-lt-quot/m-p/437389#M4638</guid>
      <dc:creator>sasuser110</dc:creator>
      <dc:date>2018-02-15T01:05:18Z</dc:date>
    </item>
  </channel>
</rss>

