<?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: [resolved] Input has full name field - How to split into FirstName, LastName, etc in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234593#M23909</link>
    <description>Just use Java string handling.</description>
    <pubDate>Fri, 04 Jan 2013 16:11:51 GMT</pubDate>
    <dc:creator>janhess</dc:creator>
    <dc:date>2013-01-04T16:11:51Z</dc:date>
    <item>
      <title>[resolved] Input has full name field - How to split into FirstName, LastName, etc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234592#M23908</link>
      <description>My input data has only a FullName field. Is there a tool in to parse the field into separate FirstName, LastName, etc. fields?
&lt;BR /&gt;The input looks like this: "Firstname Middlename Lastname", where the Middlename can be an initial, a full middle name, a maiden name, or not present. Lastnames can be hyphenated. No prefixes, suffixes, but it would be great to handle those, too.</description>
      <pubDate>Fri, 04 Jan 2013 16:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234592#M23908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-04T16:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input has full name field - How to split into FirstName, LastName, etc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234593#M23909</link>
      <description>Just use Java string handling.</description>
      <pubDate>Fri, 04 Jan 2013 16:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234593#M23909</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-01-04T16:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input has full name field - How to split into FirstName, LastName, etc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234594#M23910</link>
      <description>Can you make a more specific suggestion?
&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 04 Jan 2013 16:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234594#M23910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-04T16:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input has full name field - How to split into FirstName, LastName, etc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234595#M23911</link>
      <description>See my entry in this post 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCrT7CAK" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/File-Transfer/td-p/115967&lt;/A&gt; 
&lt;BR /&gt;relating to a function for splitting strings.</description>
      <pubDate>Fri, 04 Jan 2013 16:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234595#M23911</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-01-04T16:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input has full name field - How to split into FirstName, LastName, etc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234596#M23912</link>
      <description>When I go to that link I get:&lt;BR /&gt;Info&lt;BR /&gt;Bad request. The link you followed is incorrect or outdated.&lt;BR /&gt;Go back&lt;BR /&gt;??</description>
      <pubDate>Fri, 04 Jan 2013 16:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234596#M23912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-04T16:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input has full name field - How to split into FirstName, LastName, etc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234597#M23913</link>
      <description>I've just updated it to a new link.</description>
      <pubDate>Fri, 04 Jan 2013 16:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234597#M23913</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-01-04T16:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input has full name field - How to split into FirstName, LastName, etc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234598#M23914</link>
      <description>That example didn't apply directly as my input does not have fixed-length fields. 
&lt;BR /&gt;As the FullName components are delimited with &amp;lt;sp&amp;gt; characters, I'm trying tExtractDelimitedFields with some progress. 
&lt;BR /&gt;This works well when there all three name components exist, but puts the LastName in the MiddleName field where there is no MiddleName. I'm trying to use tMap to move the LastName from the MiddleName field to the LastName field in this situation. 
&lt;BR /&gt;Is there a way to use an if statement in the expression field of tMAP? What would the syntax be? 
&lt;BR /&gt;I want to do something like this for the LastName map expression: 
&lt;BR /&gt;if(StringHandling.LEN(row2.LastName)==0) row2.MiddleInitial 
&lt;BR /&gt; else row2.LastName 
&lt;BR /&gt;and for the MiddleInitial map expression: 
&lt;BR /&gt;if(StringHandling.LEN(row2.LastName)!=0) row2.MiddleInitial 
&lt;BR /&gt;What is the correct syntax for this?</description>
      <pubDate>Fri, 04 Jan 2013 21:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234598#M23914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-04T21:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input has full name field - How to split into FirstName, LastName, etc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234599#M23915</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Is there a way to use an if statement in the expression field of tMAP? What would the syntax be?&lt;BR /&gt;I want to do something like this for the LastName map expression:&lt;BR /&gt;if(StringHandling.LEN(row2.LastName)==0) row2.MiddleInitial &lt;BR /&gt; else row2.LastName&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Yes, you can use the if...else...statement like this: 
&lt;BR /&gt;StringHandling.LEN(row2.LastName)==0?row2.MiddleInitial : row2.LastName 
&lt;BR /&gt;Shong</description>
      <pubDate>Sat, 05 Jan 2013 01:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234599#M23915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-05T01:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input has full name field - How to split into FirstName, LastName, etc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234600#M23916</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;That example didn't apply directly as my input does not have fixed-length fields.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;The code works for variable length text and any delimited text can be extracted.</description>
      <pubDate>Mon, 07 Jan 2013 09:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234600#M23916</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-01-07T09:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input has full name field - How to split into FirstName, LastName, etc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234601#M23917</link>
      <description>Thanks shong, your suggestion solved my problem! 
&lt;BR /&gt;Is there any tool or technique that can parse a more complex combined-name field (such as: Mr. John J. Jones Jr.) into fine-grained fields (such as Prefix, FN, MN, LN, Suffix)? I'll probably get sources like this in the future.</description>
      <pubDate>Mon, 07 Jan 2013 16:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234601#M23917</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-07T16:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input has full name field - How to split into FirstName, LastName, etc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234602#M23918</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Is there any tool or technique that can parse a more complex combined-name field (such as: Mr. John J. Jones Jr.) into fine-grained fields (such as Prefix, FN, MN, LN, Suffix)? I'll probably get sources like this in the future.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;There is no a function can handle such kind of combined-name field, if the field is regular, I think you can create a custom routine to parse it, and call the routine in the job. 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 07 Jan 2013 18:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-has-full-name-field-How-to-split-into-FirstName/m-p/2234602#M23918</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-07T18:42:22Z</dc:date>
    </item>
  </channel>
</rss>

