<?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: Dropping some, not all, variables with the same prefix in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Dropping-some-not-all-variables-with-the-same-prefix/m-p/864892#M341528</link>
    <description>Thanks! I was tried the same code but on a different dataset. No wonder it did not work earlier.</description>
    <pubDate>Fri, 17 Mar 2023 15:40:18 GMT</pubDate>
    <dc:creator>ama220</dc:creator>
    <dc:date>2023-03-17T15:40:18Z</dc:date>
    <item>
      <title>Dropping some, not all, variables with the same prefix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Dropping-some-not-all-variables-with-the-same-prefix/m-p/864862#M341518</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a set of variables that start with the same prefix. I would like to drop some of them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;E.g., Variables are&amp;nbsp; &amp;nbsp;AC1&amp;nbsp; AC2&amp;nbsp; AC3&amp;nbsp; AC4 ...... AC100.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to retain the first 10 ACx variables and delete the rest after that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 14:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Dropping-some-not-all-variables-with-the-same-prefix/m-p/864862#M341518</guid>
      <dc:creator>ama220</dc:creator>
      <dc:date>2023-03-17T14:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping some, not all, variables with the same prefix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Dropping-some-not-all-variables-with-the-same-prefix/m-p/864865#M341520</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;drop ac11-ac100;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Mar 2023 14:53:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Dropping-some-not-all-variables-with-the-same-prefix/m-p/864865#M341520</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-03-17T14:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping some, not all, variables with the same prefix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Dropping-some-not-all-variables-with-the-same-prefix/m-p/864892#M341528</link>
      <description>Thanks! I was tried the same code but on a different dataset. No wonder it did not work earlier.</description>
      <pubDate>Fri, 17 Mar 2023 15:40:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Dropping-some-not-all-variables-with-the-same-prefix/m-p/864892#M341528</guid>
      <dc:creator>ama220</dc:creator>
      <dc:date>2023-03-17T15:40:18Z</dc:date>
    </item>
  </channel>
</rss>

