<?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: Check if name has first and  last name in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248076#M6575</link>
    <description>"Truly" is a strong word. What locale do your names belong to?</description>
    <pubDate>Thu, 04 Feb 2016 19:54:59 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2016-02-04T19:54:59Z</dc:date>
    <item>
      <title>Check if name has first and  last name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248070#M6573</link>
      <description>&lt;P&gt;There is a column Customer name with first and last names together. not all the values have both first and/or last names. Want to know how many of them truly have both first and last names. They are separated by spaces.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 19:41:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248070#M6573</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2016-02-04T19:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Check if name has first and  last name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248072#M6574</link>
      <description>&lt;P&gt;You can use &lt;STRONG&gt;COUNTW()&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
Fullname=(COUNTW(name)&amp;gt;1);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 19:52:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248072#M6574</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2016-02-04T19:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Check if name has first and  last name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248076#M6575</link>
      <description>"Truly" is a strong word. What locale do your names belong to?</description>
      <pubDate>Thu, 04 Feb 2016 19:54:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248076#M6575</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-02-04T19:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Check if name has first and  last name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248078#M6576</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select "Full Names",sum(COUNTW(name)&amp;gt;1) as N
from have
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Feb 2016 20:04:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248078#M6576</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2016-02-04T20:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Check if name has first and  last name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248131#M6582</link>
      <description>&lt;P&gt;You can count the words in a name but you can't accurately check if they have both first and last name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example is Bruce Roger two first names or a first name and a last name? Either of these names could be a first name or a last name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another: Van Hurst - is this a first name and a last name or a two word last name?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 00:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248131#M6582</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-02-05T00:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Check if name has first and  last name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248174#M6585</link>
      <description>Yes that's what I was getting at.&lt;BR /&gt;You need a data quality tool like data flux to manage this.</description>
      <pubDate>Fri, 05 Feb 2016 07:06:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248174#M6585</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-02-05T07:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Check if name has first and  last name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248226#M6590</link>
      <description>&lt;P&gt;only way is to check the length before and after compressing the name. if they are equal then either names is missing,&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 13:28:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Check-if-name-has-first-and-last-name/m-p/248226#M6590</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2016-02-05T13:28:12Z</dc:date>
    </item>
  </channel>
</rss>

