<?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 Tokenize Column And Store in Another Column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Tokenize-Column-And-Store-in-Another-Column/m-p/2365352#M128966</link>
    <description>Hey Guys,&lt;BR /&gt;&lt;BR /&gt;I have an requirement that source column has valus like this " discount 29 How heard facebook" now what I want to do split value after "discount 29" and how heard should be goes to different column. But here one thing to be happen that sometimes source value does not contain "how heard facebook" .&lt;BR /&gt;&lt;BR /&gt;So Im thinking I need to put condition that everytime it should check that source value has "how heard facebook" or not, if it has then it will split and store in another column if not then it will insert simply as map destination column.&lt;BR /&gt;&lt;BR /&gt;Any help is much apperciated.&lt;BR /&gt;</description>
    <pubDate>Sun, 22 Jul 2018 23:30:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-22T23:30:54Z</dc:date>
    <item>
      <title>Tokenize Column And Store in Another Column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tokenize-Column-And-Store-in-Another-Column/m-p/2365352#M128966</link>
      <description>Hey Guys,&lt;BR /&gt;&lt;BR /&gt;I have an requirement that source column has valus like this " discount 29 How heard facebook" now what I want to do split value after "discount 29" and how heard should be goes to different column. But here one thing to be happen that sometimes source value does not contain "how heard facebook" .&lt;BR /&gt;&lt;BR /&gt;So Im thinking I need to put condition that everytime it should check that source value has "how heard facebook" or not, if it has then it will split and store in another column if not then it will insert simply as map destination column.&lt;BR /&gt;&lt;BR /&gt;Any help is much apperciated.&lt;BR /&gt;</description>
      <pubDate>Sun, 22 Jul 2018 23:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tokenize-Column-And-Store-in-Another-Column/m-p/2365352#M128966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-22T23:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tokenize Column And Store in Another Column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tokenize-Column-And-Store-in-Another-Column/m-p/2365353#M128967</link>
      <description>it's not clear. can you add samples. define your data source it's strings delimited columns flat file….&lt;BR /&gt;if you are clear the answer will be clear too.</description>
      <pubDate>Tue, 24 Jul 2018 10:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tokenize-Column-And-Store-in-Another-Column/m-p/2365353#M128967</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-07-24T10:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Tokenize Column And Store in Another Column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tokenize-Column-And-Store-in-Another-Column/m-p/2365354#M128968</link>
      <description>&lt;P&gt;Hi Arpita,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Unfortunately the query is vague but my understanding is that you are trying to split the incoming data after "discount 29" where "discount 29" will be static and the data after that string is dynamic (may or may not exist). I assume the first part of data will be coming in the same format i.e. the length will be static.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 200px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzNq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144155i15017C8F3390A808/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzNq.png" alt="0683p000009LzNq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; I got the output like above after the data split in tmap using below expressions.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For data1&amp;nbsp; &amp;nbsp; -&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StringHandling.LEFT(row1.data,11)&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For data2&amp;nbsp; &amp;nbsp; -&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StringHandling.RIGHT(row1.data,row1.data.length()-11)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Note:- Please handle NULL by adding additional NULL check conditions based on your need.&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; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 18:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tokenize-Column-And-Store-in-Another-Column/m-p/2365354#M128968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-24T18:36:21Z</dc:date>
    </item>
  </channel>
</rss>

