<?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: delete line when 1 variable contains some specific signs in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/delete-line-when-1-variable-contains-some-specific-signs/m-p/578000#M13283</link>
    <description>&lt;P&gt;Use the index() function:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if
  index(NIEDERLASSUNGBEZ_BT,'GRM') or
  index(NIEDERLASSUNGBEZ_BT,'CoC') or
  index(NIEDERLASSUNGBEZ_BT,'NL MS')
then delete;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or simplifiy this to a subsetting if:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if not (
  index(NIEDERLASSUNGBEZ_BT,'GRM') or
  index(NIEDERLASSUNGBEZ_BT,'CoC') or
  index(NIEDERLASSUNGBEZ_BT,'NL MS')
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 31 Jul 2019 10:35:27 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-07-31T10:35:27Z</dc:date>
    <item>
      <title>delete line when 1 variable contains some specific signs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/delete-line-when-1-variable-contains-some-specific-signs/m-p/577994#M13278</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to delete the lines of a table, when the VAriable contains some specific chains of characters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; NIEDERLASSUNGBEZ_BT contains (&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'GRM'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;, &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'CoC'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;, &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'NL MS'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;then&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; delete;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;how can I correct this?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;thanks in advance&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 10:07:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/delete-line-when-1-variable-contains-some-specific-signs/m-p/577994#M13278</guid>
      <dc:creator>PierreYvesILY</dc:creator>
      <dc:date>2019-07-31T10:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: delete line when 1 variable contains some specific signs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/delete-line-when-1-variable-contains-some-specific-signs/m-p/578000#M13283</link>
      <description>&lt;P&gt;Use the index() function:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if
  index(NIEDERLASSUNGBEZ_BT,'GRM') or
  index(NIEDERLASSUNGBEZ_BT,'CoC') or
  index(NIEDERLASSUNGBEZ_BT,'NL MS')
then delete;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or simplifiy this to a subsetting if:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if not (
  index(NIEDERLASSUNGBEZ_BT,'GRM') or
  index(NIEDERLASSUNGBEZ_BT,'CoC') or
  index(NIEDERLASSUNGBEZ_BT,'NL MS')
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Jul 2019 10:35:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/delete-line-when-1-variable-contains-some-specific-signs/m-p/578000#M13283</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-31T10:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: delete line when 1 variable contains some specific signs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/delete-line-when-1-variable-contains-some-specific-signs/m-p/578002#M13285</link>
      <description>&lt;P&gt;thank you very much and have a nice day.&lt;/P&gt;&lt;P&gt;PY&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 10:37:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/delete-line-when-1-variable-contains-some-specific-signs/m-p/578002#M13285</guid>
      <dc:creator>PierreYvesILY</dc:creator>
      <dc:date>2019-07-31T10:37:40Z</dc:date>
    </item>
  </channel>
</rss>

