<?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 select Second name from full name and from address in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295814#M61855</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q1 Below there is a list of names and i want to select only second names from the list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alan Schoenberg&lt;/P&gt;&lt;P&gt;Alan Barnes&lt;/P&gt;&lt;P&gt;Alex Russell&lt;/P&gt;&lt;P&gt;Amy Cox&lt;/P&gt;&lt;P&gt;Amy Hunt&lt;/P&gt;&lt;P&gt;Andy Gerbode&lt;/P&gt;&lt;P&gt;Benjamin Patter&lt;/P&gt;&lt;P&gt;Clytie Kelty&lt;/P&gt;&lt;P&gt;Julie Kriz&lt;/P&gt;&lt;P&gt;Liz Price&lt;/P&gt;&lt;P&gt;Robert Waldorf&lt;/P&gt;&lt;P&gt;Marina Lichtens&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q2 From the full address i want to select only second name the data is in miss mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alan Schoenberg,&amp;nbsp;Ontario,&amp;nbsp;United States of America&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alan Barnes, United States of America&amp;nbsp;&lt;/P&gt;&lt;P&gt;Benjamin Patter, Australia&lt;/P&gt;&lt;P&gt;Clytie Kelty, Denmark&lt;/P&gt;&lt;P&gt;Julie Kriz,West,&amp;nbsp;British Columbia&lt;/P&gt;&lt;P&gt;Liz Price,Northwest Territories,&amp;nbsp;United States of America&amp;nbsp;&lt;/P&gt;&lt;P&gt;Robert Waldorf, United Kingdom&lt;/P&gt;&lt;P&gt;Marina Lichens,&amp;nbsp;California,&amp;nbsp;United States of America&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q3 Below&amp;nbsp;Product Name has been listed and i want only those observation in output if&amp;nbsp;Product Name have Chair and&amp;nbsp;Machine&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Staples Colored Bar Computer Paper&lt;/P&gt;&lt;P&gt;Office Star - Ergonomic Mid Back Chair with 2-Way Adjustable Arms&lt;/P&gt;&lt;P&gt;Bevis 36 x 72 Conference Tables&lt;/P&gt;&lt;P&gt;Global Leather Task Chair, Black&lt;/P&gt;&lt;P&gt;Bush Advantage Collection® Round Conference Table&lt;/P&gt;&lt;P&gt;Global Stack Chair without Arms, Black&lt;/P&gt;&lt;P&gt;Office Star - Ergonomic Mid Back Chair with 2-Way Adjustable Arms &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Global Leather Task Chair, Black&lt;/P&gt;&lt;P&gt;GBC DocuBind 200 Manual Binding Machine&amp;nbsp;&lt;/P&gt;&lt;P&gt;Staples® General Use 3-Ring Binders&amp;nbsp;Machine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2016 13:13:53 GMT</pubDate>
    <dc:creator>Prashant_Ph</dc:creator>
    <dc:date>2016-09-01T13:13:53Z</dc:date>
    <item>
      <title>How to select Second name from full name and from address</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295814#M61855</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q1 Below there is a list of names and i want to select only second names from the list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alan Schoenberg&lt;/P&gt;&lt;P&gt;Alan Barnes&lt;/P&gt;&lt;P&gt;Alex Russell&lt;/P&gt;&lt;P&gt;Amy Cox&lt;/P&gt;&lt;P&gt;Amy Hunt&lt;/P&gt;&lt;P&gt;Andy Gerbode&lt;/P&gt;&lt;P&gt;Benjamin Patter&lt;/P&gt;&lt;P&gt;Clytie Kelty&lt;/P&gt;&lt;P&gt;Julie Kriz&lt;/P&gt;&lt;P&gt;Liz Price&lt;/P&gt;&lt;P&gt;Robert Waldorf&lt;/P&gt;&lt;P&gt;Marina Lichtens&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q2 From the full address i want to select only second name the data is in miss mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alan Schoenberg,&amp;nbsp;Ontario,&amp;nbsp;United States of America&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alan Barnes, United States of America&amp;nbsp;&lt;/P&gt;&lt;P&gt;Benjamin Patter, Australia&lt;/P&gt;&lt;P&gt;Clytie Kelty, Denmark&lt;/P&gt;&lt;P&gt;Julie Kriz,West,&amp;nbsp;British Columbia&lt;/P&gt;&lt;P&gt;Liz Price,Northwest Territories,&amp;nbsp;United States of America&amp;nbsp;&lt;/P&gt;&lt;P&gt;Robert Waldorf, United Kingdom&lt;/P&gt;&lt;P&gt;Marina Lichens,&amp;nbsp;California,&amp;nbsp;United States of America&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q3 Below&amp;nbsp;Product Name has been listed and i want only those observation in output if&amp;nbsp;Product Name have Chair and&amp;nbsp;Machine&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Staples Colored Bar Computer Paper&lt;/P&gt;&lt;P&gt;Office Star - Ergonomic Mid Back Chair with 2-Way Adjustable Arms&lt;/P&gt;&lt;P&gt;Bevis 36 x 72 Conference Tables&lt;/P&gt;&lt;P&gt;Global Leather Task Chair, Black&lt;/P&gt;&lt;P&gt;Bush Advantage Collection® Round Conference Table&lt;/P&gt;&lt;P&gt;Global Stack Chair without Arms, Black&lt;/P&gt;&lt;P&gt;Office Star - Ergonomic Mid Back Chair with 2-Way Adjustable Arms &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Global Leather Task Chair, Black&lt;/P&gt;&lt;P&gt;GBC DocuBind 200 Manual Binding Machine&amp;nbsp;&lt;/P&gt;&lt;P&gt;Staples® General Use 3-Ring Binders&amp;nbsp;Machine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 13:13:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295814#M61855</guid>
      <dc:creator>Prashant_Ph</dc:creator>
      <dc:date>2016-09-01T13:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to select Second name from full name and from address</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295823#M61857</link>
      <description>&lt;P&gt;Q1: scan(name,2)&lt;BR /&gt;Q2: scan(fullAddress,2)&lt;BR /&gt;Q3: indexc(lowcase(productName),'chair','machine')&amp;gt;0&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 13:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295823#M61857</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2016-09-01T13:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to select Second name from full name and from address</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295824#M61858</link>
      <description>&lt;P&gt;This looks a lot like homework/learning exercise so you should give it a shot. There are some hints below on functions you can use. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q1 - Scan&lt;/P&gt;
&lt;P&gt;Q2 - I don't understand the question&lt;/P&gt;
&lt;P&gt;Q3 - Find or Index function&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 13:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295824#M61858</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-09-01T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to select Second name from full name and from address</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295844#M61866</link>
      <description>&lt;P&gt;Names are obnoxious data. The question&amp;nbsp;might be do you want the Last (family) name or the second word. Consider:&lt;/P&gt;
&lt;P&gt;Pierre Le Blanc&lt;/P&gt;
&lt;P&gt;Dick Van Dyke&lt;/P&gt;
&lt;P&gt;Jorge De La Cruz&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which piece to you want from those?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again since this is apparently an exercise there are a number of functions that&amp;nbsp;may come into play:&lt;/P&gt;
&lt;P&gt;Index, Scan, Find, FindW, IndexW&lt;/P&gt;
&lt;P&gt;are likely candidates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 22:44:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295844#M61866</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-01T22:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to select Second name from full name and from address</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295928#M61906</link>
      <description>&lt;P&gt;Awesome 1st and 2nd question i got answer but 3rd question i think sum thing missing i not getting exact output answer. but ur answers are perfect. Thanks’ a Lot.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 16:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295928#M61906</guid>
      <dc:creator>Prashant_Ph</dc:creator>
      <dc:date>2016-09-01T16:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to select Second name from full name and from address</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295930#M61907</link>
      <description>&lt;P&gt;Thank You even ur answer are right.&amp;nbsp;&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;</description>
      <pubDate>Thu, 01 Sep 2016 16:28:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Second-name-from-full-name-and-from-address/m-p/295930#M61907</guid>
      <dc:creator>Prashant_Ph</dc:creator>
      <dc:date>2016-09-01T16:28:24Z</dc:date>
    </item>
  </channel>
</rss>

