<?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: ASCII CODE to convert a character string. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ASCII-CODE-to-convert-a-character-string/m-p/205946#M51248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would the translate() function help?&amp;nbsp; &lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/67960/HTML/default/viewer.htm#p05ww22zp7lcg3n1bjk7v93tscyo.htm" title="http://support.sas.com/documentation/cdl/en/lefunctionsref/67960/HTML/default/viewer.htm#p05ww22zp7lcg3n1bjk7v93tscyo.htm"&gt;SAS(R) 9.4 Functions and CALL Routines: Reference, Fourth Edition&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Jul 2015 23:37:39 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2015-07-19T23:37:39Z</dc:date>
    <item>
      <title>ASCII CODE to convert a character string.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ASCII-CODE-to-convert-a-character-string/m-p/205945#M51247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text string like this : 'UNIT: 10^3/UL’. and it should be converted to ‘UNIT: 10^3/UL’.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first apostrophie should be changed from " 'UNIT " to " ‘UNIT"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sowmya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2015 03:54:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ASCII-CODE-to-convert-a-character-string/m-p/205945#M51247</guid>
      <dc:creator>sowmyavasa</dc:creator>
      <dc:date>2015-07-19T03:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII CODE to convert a character string.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ASCII-CODE-to-convert-a-character-string/m-p/205946#M51248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would the translate() function help?&amp;nbsp; &lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/67960/HTML/default/viewer.htm#p05ww22zp7lcg3n1bjk7v93tscyo.htm" title="http://support.sas.com/documentation/cdl/en/lefunctionsref/67960/HTML/default/viewer.htm#p05ww22zp7lcg3n1bjk7v93tscyo.htm"&gt;SAS(R) 9.4 Functions and CALL Routines: Reference, Fourth Edition&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2015 23:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ASCII-CODE-to-convert-a-character-string/m-p/205946#M51248</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-07-19T23:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII CODE to convert a character string.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ASCII-CODE-to-convert-a-character-string/m-p/205947#M51249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, But I dont know the ASCII code for the quote that is mentioned. Both appears to be same ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2015 23:41:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ASCII-CODE-to-convert-a-character-string/m-p/205947#M51249</guid>
      <dc:creator>sowmyavasa</dc:creator>
      <dc:date>2015-07-19T23:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII CODE to convert a character string.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ASCII-CODE-to-convert-a-character-string/m-p/205948#M51250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not the same. Look closer.&lt;/P&gt;&lt;P&gt;You can get the code using function rank().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;data HAVE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; X="&amp;nbsp; 'UNIT: 10^3/UL’&amp;nbsp; ";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; X=translate(X,"’","'");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; A=rank("’");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; B=rank("'");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; put X= / A= B=;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;X=’UNIT: 10^3/UL’&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;A=146 B=39&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 03:49:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ASCII-CODE-to-convert-a-character-string/m-p/205948#M51250</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2015-07-20T03:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII CODE to convert a character string.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ASCII-CODE-to-convert-a-character-string/m-p/205949#M51251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My question would by why do you want quotes of any kind in your data, just looks like extra effort for no gain.&amp;nbsp; If it needs to be quoted for output purposes then use the quote functions provided, but keep your raw data without these things.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 08:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ASCII-CODE-to-convert-a-character-string/m-p/205949#M51251</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-07-20T08:26:40Z</dc:date>
    </item>
  </channel>
</rss>

