<?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 Extract first name &amp; last name in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Extract-first-name-last-name/m-p/88008#M38638</link>
    <description>What is the best way to extract first name &amp;amp; last name? Full name was like 'Last, First Mid' or 'Last, First'. I was using Trim, InStr, Replace...types of functions which is creating issues. For some transactions, it's fetching the correct data. For some, it's fetching only a part of the required name and for some, it's throwing an error that the . I'm looking for a standard way to extract this data.</description>
    <pubDate>Wed, 07 Mar 2018 10:23:00 GMT</pubDate>
    <dc:creator>SudheerReddy</dc:creator>
    <dc:date>2018-03-07T10:23:00Z</dc:date>
    <item>
      <title>Extract first name &amp; last name</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-first-name-last-name/m-p/88008#M38638</link>
      <description>What is the best way to extract first name &amp;amp; last name? Full name was like 'Last, First Mid' or 'Last, First'. I was using Trim, InStr, Replace...types of functions which is creating issues. For some transactions, it's fetching the correct data. For some, it's fetching only a part of the required name and for some, it's throwing an error that the . I'm looking for a standard way to extract this data.</description>
      <pubDate>Wed, 07 Mar 2018 10:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-first-name-last-name/m-p/88008#M38638</guid>
      <dc:creator>SudheerReddy</dc:creator>
      <dc:date>2018-03-07T10:23:00Z</dc:date>
    </item>
    <item>
      <title>You probably will be able to…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-first-name-last-name/m-p/88009#M38639</link>
      <description>You probably will be able to do it with decision and calculation stages - you just need to experiment a lot and test your logic against as many different examples of the text as possible.&amp;nbsp; The errors you are getting simply suggest your InStr logic for finding commas or spaces needs improving.
Off the top of my head - getting the last name should be easy thanks to that comma.&amp;nbsp; Something like: Trim(Left([NameText],InStr([NameText,"","")-1))
For the first names you need some kind of logic that extracts the positions of all the spaces (the gaps between first names - there could be more than just two) - and they loop through extracting each name.</description>
      <pubDate>Wed, 07 Mar 2018 16:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-first-name-last-name/m-p/88009#M38639</guid>
      <dc:creator>Denis__Dennehy</dc:creator>
      <dc:date>2018-03-07T16:58:00Z</dc:date>
    </item>
    <item>
      <title>Thanks for the reply Denis…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-first-name-last-name/m-p/88010#M38640</link>
      <description>Thanks for the reply Denis. I'll try this.</description>
      <pubDate>Wed, 07 Mar 2018 22:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-first-name-last-name/m-p/88010#M38640</guid>
      <dc:creator>SudheerReddy</dc:creator>
      <dc:date>2018-03-07T22:01:00Z</dc:date>
    </item>
    <item>
      <title>thanks</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-first-name-last-name/m-p/88011#M38641</link>
      <description>thanks</description>
      <pubDate>Tue, 13 Mar 2018 13:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-first-name-last-name/m-p/88011#M38641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-13T13:10:00Z</dc:date>
    </item>
  </channel>
</rss>

