<?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 separate full_name Jon Emma M as last_name Jon, first_name Emma, Middle Initial_M in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-separate-full-name-Jon-Emma-M-as-last-name-Jon-first-name/m-p/970881#M377200</link>
    <description>&lt;P&gt;Need help with separating Full_Name 'Jon Joshua M' as Last_name 'Jon', 'First_name' Joshua, 'Middle_Initial' M.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jul 2025 17:54:58 GMT</pubDate>
    <dc:creator>DesmondSas715</dc:creator>
    <dc:date>2025-07-16T17:54:58Z</dc:date>
    <item>
      <title>How to separate full_name Jon Emma M as last_name Jon, first_name Emma, Middle Initial_M</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-separate-full-name-Jon-Emma-M-as-last-name-Jon-first-name/m-p/970881#M377200</link>
      <description>&lt;P&gt;Need help with separating Full_Name 'Jon Joshua M' as Last_name 'Jon', 'First_name' Joshua, 'Middle_Initial' M.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 17:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-separate-full-name-Jon-Emma-M-as-last-name-Jon-first-name/m-p/970881#M377200</guid>
      <dc:creator>DesmondSas715</dc:creator>
      <dc:date>2025-07-16T17:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate full_name Jon Emma M as last_name Jon, first_name Emma, Middle Initial_M</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-separate-full-name-Jon-Emma-M-as-last-name-Jon-first-name/m-p/970884#M377202</link>
      <description>&lt;P&gt;You can use the SCAN function to do this. This assumes that the delimiter is a space and that the name is always in the same order: last first middle.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
full_name='Jon Joshua M';
last_name=scan(full_name,1,' ');
first_name=scan(full_name,2,' ');
middle_initial=scan(full_name,3,' ');
run;

proc print;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Jul 2025 18:15:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-separate-full-name-Jon-Emma-M-as-last-name-Jon-first-name/m-p/970884#M377202</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2025-07-16T18:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate full_name Jon Emma M as last_name Jon, first_name Emma, Middle Initial_M</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-separate-full-name-Jon-Emma-M-as-last-name-Jon-first-name/m-p/970885#M377203</link>
      <description>&lt;P&gt;It also assumes that names always follow a pattern, but how about a Dutch name where the last name is Van Aalen?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Van Aalen Sarah G&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and then the rules to find last name as the first "word" fail.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 18:40:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-separate-full-name-Jon-Emma-M-as-last-name-Jon-first-name/m-p/970885#M377203</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2025-07-16T18:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate full_name Jon Emma M as last_name Jon, first_name Emma, Middle Initial_M</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-separate-full-name-Jon-Emma-M-as-last-name-Jon-first-name/m-p/970906#M377206</link>
      <description>&lt;P&gt;FYI, SAS Data Quality has name parsing algorithms that cater for national differences to do the splitting you want. Of course this is more geared to enterprise-wide solutions as opposed to individual requirements.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 20:03:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-separate-full-name-Jon-Emma-M-as-last-name-Jon-first-name/m-p/970906#M377206</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2025-07-16T20:03:43Z</dc:date>
    </item>
  </channel>
</rss>

