<?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: Label format subscript in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Label-format-subscript/m-p/151715#M262528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks RW9 &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Sep 2014 12:24:21 GMT</pubDate>
    <dc:creator>KrishnaChandra</dc:creator>
    <dc:date>2014-09-19T12:24:21Z</dc:date>
    <item>
      <title>Label format subscript</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label-format-subscript/m-p/151713#M262526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please verify the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data Task.LSLabel;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;length var1 $75.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var1='FEF25-75% (L/S) (Baseline from P301)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Actually i need to get the Var1=&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New';"&gt;FEF&lt;SUB&gt;25-75% &lt;/SUB&gt;(L/S) (Baseline from P301) but now it seems to be FEF25-75% (L/S) (Baseline from P301).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New';"&gt;Any way to solve this one&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 10:10:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label-format-subscript/m-p/151713#M262526</guid>
      <dc:creator>KrishnaChandra</dc:creator>
      <dc:date>2014-09-19T10:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Label format subscript</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label-format-subscript/m-p/151714#M262527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is called super or sub scripting.&amp;nbsp; To get these types of characters you need to "escape" your text.&amp;nbsp; First set the escape character - this is the character in the data which, when followed by { indicates the text is special.&lt;/P&gt;&lt;P&gt;ods escapechar="^";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I create some test data, note that the escape char is present, within the curly braces I indicate that I want sub or super script, then place the text, and finish with another curly brace.&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aa="This is a string with a ^{super 25-75%} and a ^{sub 25-75%} in it"; output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I print that dataset to a file to see the results.&lt;/P&gt;&lt;P&gt;ods rtf file="s:\temp\rob\test.rtf";&lt;/P&gt;&lt;P&gt;proc print data=have;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 10:22:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label-format-subscript/m-p/151714#M262527</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-09-19T10:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Label format subscript</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label-format-subscript/m-p/151715#M262528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks RW9 &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 12:24:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label-format-subscript/m-p/151715#M262528</guid>
      <dc:creator>KrishnaChandra</dc:creator>
      <dc:date>2014-09-19T12:24:21Z</dc:date>
    </item>
  </channel>
</rss>

