<?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: Extracting initials of a full name in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172092#M3384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not long ago I had to match children's names out of a data system where there was single name field. There was not set order for first name, middle name or initial or last names; suffixes such as Junior or Jr, Second or II or Third III could be any where in the field; last names of both mother and father could be present with&amp;nbsp; or without hyphens; and names like Van Dyke, al Allassi, De La Cruz and more odd constucts. So when I see a relatively unstructured request about names I cringe and ask what some people may consider odd questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 21:36:00 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2014-10-03T21:36:00Z</dc:date>
    <item>
      <title>Extracting initials of a full name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172087#M3379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for an efficient way of extracting the initials of a name. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benjamin J. Lincoln -&amp;gt; BJC&lt;/P&gt;&lt;P&gt;Andrew Benson Jones -&amp;gt; ABJ&lt;/P&gt;&lt;P&gt;L. Michael Andersson Curt -&amp;gt; LMAC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be glad for the assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 19:19:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172087#M3379</guid>
      <dc:creator>lyton80</dc:creator>
      <dc:date>2014-10-03T19:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting initials of a full name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172088#M3380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can be sure that the first letter of each name is always capitalized, it would be pretty easy to use the COMPRESS function to strip out lower case letters and non-alphabetic characters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 19:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172088#M3380</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-10-03T19:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting initials of a full name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172089#M3381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have any names like:&lt;/P&gt;&lt;P&gt;Otto Van Dyke, where Van Dyke is the last name? Would you want OVD or OV?&lt;/P&gt;&lt;P&gt;or Miguel De La Cruz, De La Cruz being the last name?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 19:39:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172089#M3381</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-10-03T19:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting initials of a full name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172090#M3382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great...that works just fine! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 19:41:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172090#M3382</guid>
      <dc:creator>lyton80</dc:creator>
      <dc:date>2014-10-03T19:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting initials of a full name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172091#M3383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;ballardw wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Do you have any names like:&lt;/P&gt;
&lt;P&gt;Otto Van Dyke, where Van Dyke is the last name? Would you want OVD or OV?&lt;/P&gt;
&lt;P&gt;or Miguel De La Cruz, De La Cruz being the last name?&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;Or how about former White House Press Secretary Jerald terHorst, who insisted that the first "t" in "terHorst" was not capitalized? &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 19:51:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172091#M3383</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-10-03T19:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting initials of a full name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172092#M3384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not long ago I had to match children's names out of a data system where there was single name field. There was not set order for first name, middle name or initial or last names; suffixes such as Junior or Jr, Second or II or Third III could be any where in the field; last names of both mother and father could be present with&amp;nbsp; or without hyphens; and names like Van Dyke, al Allassi, De La Cruz and more odd constucts. So when I see a relatively unstructured request about names I cringe and ask what some people may consider odd questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 21:36:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172092#M3384</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-10-03T21:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting initials of a full name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172093#M3385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For &lt;A __default_attr="260198" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;'s scenario, it seems no easy way out unless to build a dictionary. It is a lot simpler to deal with Mr. 'Jerald terHorst', we just need to PROPCASE first, then COMPRESS &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 19:31:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172093#M3385</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2014-10-06T19:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting initials of a full name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172094#M3386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS Data Management has a name parse node which uses a known name dictionary and can parse a one field name input into multiple name tokens (name_prefix, first_name, middle_name, family_name, name_suffix). Then you could take the first initial of each using an expression node.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 19:51:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172094#M3386</guid>
      <dc:creator>skillman</dc:creator>
      <dc:date>2014-10-07T19:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting initials of a full name</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172095#M3387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROPCASE gives the wrong result for Jerald terHorst, who insists the first letter "t" in his last name is not capitalized, and the "H" in his last name is capitalized.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 20:15:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Extracting-initials-of-a-full-name/m-p/172095#M3387</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-10-07T20:15:58Z</dc:date>
    </item>
  </channel>
</rss>

