<?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: String Handling in Tmap?????? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245768#M31513</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;greetings of the day,&lt;/P&gt; 
&lt;P&gt;i have tried giving split method,... but i see there are some issues...&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i shall share a screenshot of it..&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;for example my testcase is&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"hello world abc!" -&amp;gt; how would the split method work.... i have considered the case where the method takes single and 2 different arguments.. in single argument method.. i have passed the delimiter by which the name must be split. Note: Should i consider String[](String array), if yes how??&lt;/P&gt; 
&lt;P&gt;on passing the 2 argument method.... String delimiter and integer.. but this as welll.. failed...&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;can you pls help.. or suggest something..&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thanks in advance&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="split.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M16I.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142630i3CE9415DD8913242/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M16I.png" alt="0683p000009M16I.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Nov 2018 08:09:04 GMT</pubDate>
    <dc:creator>ankit7359</dc:creator>
    <dc:date>2018-11-14T08:09:04Z</dc:date>
    <item>
      <title>String Handling in Tmap??????</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245764#M31509</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;i was trying out a scenario of splitting of name into first,middle and last name accordingly...&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;as per my testcase... it worked perfectly with "hello world abc!".&lt;/P&gt; 
&lt;P&gt;but when i try with any other testcast it fails...&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;for example :&lt;/P&gt; 
&lt;P&gt;"Sudhansu Sekhar Dash" or "Amiya Prasad Mishra"&lt;/P&gt; 
&lt;P&gt;the result i get is&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"har Dash" or "ishra"&lt;/P&gt; 
&lt;P&gt;the method used in tmap is -&amp;gt;&lt;/P&gt; 
&lt;P&gt;StringHandling.RIGHT(row1.ename,StringHandling.INDEX(row1.ename," "))... Pls can anyone help on this....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Job_View" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M15e.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149871i0BEF8AA2FC3D79EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M15e.png" alt="0683p000009M15e.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Job_View&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tmap_view" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M15j.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133449i5F60B9BD5CA596B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M15j.png" alt="0683p000009M15j.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Tmap_view&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capturing first_name from emp name" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M15o.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152677i5EB5209A76864862/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M15o.png" alt="0683p000009M15o.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Capturing first_name from emp name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capturing last name using &amp;quot;hello world abc!&amp;quot;" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M15y.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152185i03EE807244CE68AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M15y.png" alt="0683p000009M15y.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Capturing last name using "hello world abc!"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capturing last name from emp name" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0yL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141605i7D0A5E983337404F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0yL.png" alt="0683p000009M0yL.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Capturing last name from emp name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="end result of all names...but issue with capturing last name." style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0y5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129841iCEFC71F4E8CC1D3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0y5.png" alt="0683p000009M0y5.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;end result of all names...but issue with capturing last name.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 05:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245764#M31509</guid>
      <dc:creator>ankit7359</dc:creator>
      <dc:date>2018-11-14T05:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: String Handling in Tmap??????</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245765#M31510</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; I have given a solution for a similar query in another post. Could you please check it and try in your use case with necessary changes?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D73p000004kW0SCAU#M87029" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Split-columns-into-multiple-columns/m-p/140827#M87029&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If the answer has helped you, could you please mark the topic as resolved? Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 05:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245765#M31510</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-14T05:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: String Handling in Tmap??????</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245766#M31511</link>
      <description>&lt;P&gt;hi &lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;greetings of the day,&lt;/P&gt; 
&lt;P&gt;i have tried the one you have suggested... and it is also giving me the same&amp;nbsp; output...&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;so can you gimme any other method... for which i might be able to achieve..&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thanks in advance&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 07:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245766#M31511</guid>
      <dc:creator>ankit7359</dc:creator>
      <dc:date>2018-11-14T07:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: String Handling in Tmap??????</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245767#M31512</link>
      <description>You should try using String.split() method instead</description>
      <pubDate>Wed, 14 Nov 2018 07:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245767#M31512</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-11-14T07:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: String Handling in Tmap??????</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245768#M31513</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;greetings of the day,&lt;/P&gt; 
&lt;P&gt;i have tried giving split method,... but i see there are some issues...&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i shall share a screenshot of it..&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;for example my testcase is&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"hello world abc!" -&amp;gt; how would the split method work.... i have considered the case where the method takes single and 2 different arguments.. in single argument method.. i have passed the delimiter by which the name must be split. Note: Should i consider String[](String array), if yes how??&lt;/P&gt; 
&lt;P&gt;on passing the 2 argument method.... String delimiter and integer.. but this as welll.. failed...&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;can you pls help.. or suggest something..&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thanks in advance&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="split.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M16I.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142630i3CE9415DD8913242/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M16I.png" alt="0683p000009M16I.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 08:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245768#M31513</guid>
      <dc:creator>ankit7359</dc:creator>
      <dc:date>2018-11-14T08:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: String Handling in Tmap??????</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245769#M31514</link>
      <description>&lt;P&gt;This is what your tMap should look like:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M16N.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155257iEC657B97C0FD45BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M16N.png" alt="0683p000009M16N.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Based on this data sample:&lt;/P&gt; 
&lt;PRE&gt;Sudhansu Sekhar Dash
Amiya Prasad Mishra
Sudhansu Sekhar
Amiya&lt;/PRE&gt; 
&lt;P&gt;This is the result:&lt;/P&gt; 
&lt;PRE&gt;[statistics] connecting to socket on port 3740
[statistics] connected
.--------------------+---------+----------+--------.
|                    tLogRow_6                     |
|=-------------------+---------+----------+-------=|
|fullName            |firstname|middlename|lastname|
|=-------------------+---------+----------+-------=|
|Sudhansu Sekhar Dash|Sudhansu |Sekhar    |Dash    |
|Amiya Prasad Mishra |Amiya    |Prasad    |Mishra  |
|Sudhansu Sekhar     |Sudhansu |Sekhar    |null    |
|Amiya               |Amiya    |null      |null    |
'--------------------+---------+----------+--------'
[statistics] disconnected&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Nov 2018 10:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245769#M31514</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-11-14T10:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: String Handling in Tmap??????</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245770#M31515</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;thanks for your in-detail solution...&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;but i have one final query -&amp;gt; as we are using split method.... is it always necessary for me to define an&amp;nbsp; object and then the respective indexes of 0,1 and so on must be given across the columns&lt;/P&gt; 
&lt;P&gt;thanks again....&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 10:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245770#M31515</guid>
      <dc:creator>ankit7359</dc:creator>
      <dc:date>2018-11-14T10:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: String Handling in Tmap??????</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245771#M31516</link>
      <description>&lt;P&gt;The Object is here to avoid to have as many String.split() as substrings you have to extract.&lt;/P&gt; 
&lt;P&gt;I used an Object because it's not possible to declare a variable as a String array.&lt;/P&gt; 
&lt;P&gt;And finally, yes, you must use indices to get each part of the fullname.&lt;/P&gt; 
&lt;P&gt;Also, if you have a fullname composed of 2 parts and you want to consider this case as firstName and lastName but not middleName, you must have a double space in the middle (for example, "Sudhansu&amp;nbsp; Dash").&lt;/P&gt; 
&lt;P&gt;In this case the middleName will contains an empty string, not a null value but it is not difficult to deal with this situation.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 10:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245771#M31516</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-11-14T10:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: String Handling in Tmap??????</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245772#M31517</link>
      <description>&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;
 &lt;DIV class="MessageSubject"&gt;
  &amp;nbsp;
 &lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-body lia-component-body-signature-highlight-escalation"&gt;
 &lt;DIV class="lia-message-body-content"&gt;
  &lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;
   &lt;DIV class="MessageSubject"&gt;
    &lt;DIV class="MessageSubjectIcons "&gt;
     &lt;DIV class="lia-message-subject"&gt;
      Hi,
      &lt;BR /&gt;Could you please confirm if we can create a generic job in talend which performs different operations on different sets of data.
      &lt;BR /&gt;Basically, we want to process multiple source files (having different schema) with different transformations but the overall processing flow in the job is same for all source files. (Eg a simple Job Flow : FileInputDelimited -&amp;gt; TMap -&amp;gt; tFileOutputDelimited).
      &lt;BR /&gt;If we can create such a generic job, then please help on below points :
      &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;
      &lt;BR /&gt;1) How to save and pass different schema definition&amp;nbsp; for different source files via parameter/file
      &lt;BR /&gt;2) How to pass key field via parameter/file
      &lt;BR /&gt;3) How to save and pass different transformations&amp;nbsp; via parameter/file
     &lt;/DIV&gt;
    &lt;/DIV&gt;
   &lt;/DIV&gt;
  &lt;/DIV&gt;
 &lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 18 Nov 2018 10:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-Handling-in-Tmap/m-p/2245772#M31517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-18T10:39:02Z</dc:date>
    </item>
  </channel>
</rss>

