<?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] Splitting A String At The Last Space in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218169#M13478</link>
    <description>&lt;P&gt;please write the code for middle name&amp;nbsp;&lt;/P&gt;&lt;P&gt;remaining two are working last and first&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 12:36:28 GMT</pubDate>
    <dc:creator>palkondatharun</dc:creator>
    <dc:date>2019-03-12T12:36:28Z</dc:date>
    <item>
      <title>[resolved] Splitting A String At The Last Space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218164#M13473</link>
      <description>I have used Talend variables and expressions in tMap to split a string at the space, as in a normal name field.&amp;nbsp; That works for most cases, where there is a first and last name.&amp;nbsp; For example, "Mickey Mouse" can be split into "Mickey" as the First Name, and "Mouse" as the Last Name.&amp;nbsp; 
&lt;BR /&gt;I would like to know if there is a way to split a string at the 
&lt;B&gt;last &lt;/B&gt;space.&amp;nbsp; I'd like to be able to take a string such as "John and Mary Jones", and split off the "Jones" part to become the Last Name, and "John and Mary" to be the First Name. 
&lt;BR /&gt;Thanks in advance! 
&lt;BR /&gt;HL</description>
      <pubDate>Fri, 16 Jan 2015 22:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218164#M13473</guid>
      <dc:creator>HLeyes</dc:creator>
      <dc:date>2015-01-16T22:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Splitting A String At The Last Space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218165#M13474</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;Search the last index of space, and truncate the string, for example;
&lt;BR /&gt;tFileInputDelimited--main--tMap--tlogRow
&lt;BR /&gt;For first name:
&lt;BR /&gt;row1.name.substring(0,row1.name.lastIndexOf(" "))
&lt;BR /&gt;For last name:
&lt;BR /&gt;
&lt;FONT size="2"&gt;row1.name.substring(row1.name.lastIndexOf(" ")+1)&lt;/FONT&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Sat, 17 Jan 2015 05:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218165#M13474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-17T05:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Splitting A String At The Last Space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218166#M13475</link>
      <description>Hi Shong, 
&lt;BR /&gt;Thanks very much for the code - that did it!&amp;nbsp; I modified the expression to account for one-word names, and also to TRIM the string. 
&lt;BR /&gt;HL</description>
      <pubDate>Tue, 20 Jan 2015 22:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218166#M13475</guid>
      <dc:creator>HLeyes</dc:creator>
      <dc:date>2015-01-20T22:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Splitting A String At The Last Space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218167#M13476</link>
      <description>Hi Hleyes.&lt;BR /&gt;Could you share your solution for future generations?&lt;BR /&gt;Thanks.&lt;BR /&gt;BR, one-in-need</description>
      <pubDate>Fri, 17 Apr 2015 08:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218167#M13476</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-04-17T08:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Splitting A String At The Last Space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218168#M13477</link>
      <description>Hi JamesBrown&amp;nbsp; 
&lt;BR /&gt;I suggest you to open a new topic for your question and describe it with more information, so you can gain more help from community users.&amp;nbsp; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 17 Apr 2015 08:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218168#M13477</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T08:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Splitting A String At The Last Space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218169#M13478</link>
      <description>&lt;P&gt;please write the code for middle name&amp;nbsp;&lt;/P&gt;&lt;P&gt;remaining two are working last and first&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 12:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Splitting-A-String-At-The-Last-Space/m-p/2218169#M13478</guid>
      <dc:creator>palkondatharun</dc:creator>
      <dc:date>2019-03-12T12:36:28Z</dc:date>
    </item>
  </channel>
</rss>

