<?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: Please Help, how to replace character like% and &amp; ? Many Thanks in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Please-Help-how-to-replace-character-like-and-Many-Thanks/m-p/128776#M26282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many ThanKS Allu!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 May 2013 10:13:21 GMT</pubDate>
    <dc:creator>Question</dc:creator>
    <dc:date>2013-05-03T10:13:21Z</dc:date>
    <item>
      <title>Please Help, how to replace character like% and &amp; ? Many Thanks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-Help-how-to-replace-character-like-and-Many-Thanks/m-p/128774#M26280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;I have a list of items purchased, and they have characters like &amp;amp; or % , but I would like to replace them by Perc or And For example...It's because I am running a macro and I am getting the following warning. Your help would be much appreciated. Many Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: Apparent invocation of macro XF not resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: Apparent symbolic reference PEA12X1L not resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: Apparent symbolic reference CRAN8X180G not resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="207"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="24" width="207"&gt;DESCRIPTION&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: medium none;" width="207"&gt;TYP/BGS 8X80'S+50% XF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: medium none;" width="207"&gt;WEL W GRP&amp;amp;PEA 12X1L&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: medium none;" width="207"&gt;WENS &amp;amp; CRAN 8X180G&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 09:33:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-Help-how-to-replace-character-like-and-Many-Thanks/m-p/128774#M26280</guid>
      <dc:creator>Question</dc:creator>
      <dc:date>2013-05-03T09:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help, how to replace character like% and &amp; ? Many Thanks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-Help-how-to-replace-character-like-and-Many-Thanks/m-p/128775#M26281</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;Compress() function will delte the required characters&lt;/P&gt;&lt;P&gt;Tranwrd() replaces the words ..&lt;/P&gt;&lt;P&gt;please try.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; input description $ 32.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* new_description1 = compress(description,'%,&amp;amp;'); for deleing only*/&lt;BR /&gt;&amp;nbsp; description=tranwrd(description,'%','Percentage');&lt;BR /&gt;&amp;nbsp; description=tranwrd(description,'&amp;amp;','And');&lt;BR /&gt;&amp;nbsp;&amp;nbsp; datalines;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; TYP/BGS 8X80'S+50% XF&lt;BR /&gt;&amp;nbsp;&amp;nbsp; WEL W GRP&amp;amp;PEA 12X1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; WENS &amp;amp; CRAN 8X180G&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 10:09:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-Help-how-to-replace-character-like-and-Many-Thanks/m-p/128775#M26281</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-05-03T10:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help, how to replace character like% and &amp; ? Many Thanks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-Help-how-to-replace-character-like-and-Many-Thanks/m-p/128776#M26282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many ThanKS Allu!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 10:13:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-Help-how-to-replace-character-like-and-Many-Thanks/m-p/128776#M26282</guid>
      <dc:creator>Question</dc:creator>
      <dc:date>2013-05-03T10:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help, how to replace character like% and &amp; ? Many Thanks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-Help-how-to-replace-character-like-and-Many-Thanks/m-p/128777#M26283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to replace "&amp;amp;" and "%" with Per and AND only because you get the warning message by invoking your macro then i think rather than replacing them you can use Macro Quoting Function to mask the Macro Language Elements if it is set to your business requirement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let DESCRIPTION = %nrstr(TYP/BGS 8X80'S+50% XF);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will intrepreate as text rather than Macro language elements...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Urvish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 10:41:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-Help-how-to-replace-character-like-and-Many-Thanks/m-p/128777#M26283</guid>
      <dc:creator>UrvishShah</dc:creator>
      <dc:date>2013-05-07T10:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help, how to replace character like% and &amp; ? Many Thanks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-Help-how-to-replace-character-like-and-Many-Thanks/m-p/128778#M26284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks Urvish! I think you are right, I should not replace it!&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>Tue, 07 May 2013 14:35:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-Help-how-to-replace-character-like-and-Many-Thanks/m-p/128778#M26284</guid>
      <dc:creator>Question</dc:creator>
      <dc:date>2013-05-07T14:35:58Z</dc:date>
    </item>
  </channel>
</rss>

