<?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 removing ')' form macro variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/removing-form-macro-variable/m-p/787531#M251647</link>
    <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%LET x = )AL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help me with removing / compressing closing brackets from above code.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Dec 2021 18:06:37 GMT</pubDate>
    <dc:creator>abhinayingole</dc:creator>
    <dc:date>2021-12-28T18:06:37Z</dc:date>
    <item>
      <title>removing ')' form macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/removing-form-macro-variable/m-p/787531#M251647</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%LET x = )AL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help me with removing / compressing closing brackets from above code.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 18:06:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/removing-form-macro-variable/m-p/787531#M251647</guid>
      <dc:creator>abhinayingole</dc:creator>
      <dc:date>2021-12-28T18:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: removing ')' form macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/removing-form-macro-variable/m-p/787534#M251649</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let y=%sysfunc(compress(%superq(x),%str(%))));
%put &amp;amp;=y;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Dec 2021 18:43:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/removing-form-macro-variable/m-p/787534#M251649</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-12-28T18:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: removing ')' form macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/removing-form-macro-variable/m-p/787541#M251653</link>
      <description>&lt;P&gt;My choice is to avoid quoting functions when possible.&amp;nbsp; As long as your string does not contain any double quotes, you can use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let x = %scan("&amp;amp;x", 1, ")" );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Technically, this does not remove the ).&amp;nbsp; Rather, it selects the first word from the original string (in quotes), using both double quotes and ) as delimiters.&amp;nbsp; So it would not work for:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let x = A)B);&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 19:14:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/removing-form-macro-variable/m-p/787541#M251653</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2021-12-28T19:14:56Z</dc:date>
    </item>
  </channel>
</rss>

