<?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 How to find strings that contain double spaces? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-strings-that-contain-double-spaces/m-p/666237#M199304</link>
    <description>&lt;P&gt;I would like to find rows where the variable NAME has 2 or 3 consecutive spaces in the string. I used&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;find(name,'  ');&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but it returns all rows. What am I doing wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2020 01:04:36 GMT</pubDate>
    <dc:creator>somebody</dc:creator>
    <dc:date>2020-07-01T01:04:36Z</dc:date>
    <item>
      <title>How to find strings that contain double spaces?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-strings-that-contain-double-spaces/m-p/666237#M199304</link>
      <description>&lt;P&gt;I would like to find rows where the variable NAME has 2 or 3 consecutive spaces in the string. I used&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;find(name,'  ');&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but it returns all rows. What am I doing wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 01:04:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-strings-that-contain-double-spaces/m-p/666237#M199304</guid>
      <dc:creator>somebody</dc:creator>
      <dc:date>2020-07-01T01:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to find strings that contain double spaces?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-strings-that-contain-double-spaces/m-p/666240#M199306</link>
      <description>&lt;P&gt;I suggest you try:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if name ne compbl(name);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Using FIND will locate trailing blanks on strings. SAS character variables are padded with trailing blanks if the text doesn't take up the full variable lengths.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 01:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-strings-that-contain-double-spaces/m-p/666240#M199306</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-07-01T01:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to find strings that contain double spaces?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-strings-that-contain-double-spaces/m-p/666585#M199467</link>
      <description>&lt;PRE&gt;find( strip(name) ,'  ');&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jul 2020 12:17:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-strings-that-contain-double-spaces/m-p/666585#M199467</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-07-02T12:17:52Z</dc:date>
    </item>
  </channel>
</rss>

