<?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: parse and split String in a tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/parse-and-split-String-in-a-tMap/m-p/2339912#M107997</link>
    <description>Hello,
&lt;BR /&gt;I would use the "var table" in the middle to create intermediate variables and do the splitting using several regex.
&lt;BR /&gt;If the extraction is really complex or you need to factorise this extraction elsewhere, create then use a routine.
&lt;BR /&gt;I would do a routine for each field i need to extract.</description>
    <pubDate>Thu, 18 Jun 2009 11:27:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-06-18T11:27:27Z</dc:date>
    <item>
      <title>parse and split String in a tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/parse-and-split-String-in-a-tMap/m-p/2339911#M107996</link>
      <description>hi,
&lt;BR /&gt;I've got some excel file send by partners with some fields.
&lt;BR /&gt;One of them send us the 'Adresse' in a single field , so I have to split it , analyse it to retrieve 'Code postal' and 'name of the town' ...etc ! 
&lt;BR /&gt;I "have to" do this in a tMap : so read the input row =&amp;gt; get the different value(throws a routine ?) =&amp;gt; redirect each of them in respective output row .....
&lt;BR /&gt;My problem its to redirect each value (@see the mapping screenshoot) =&amp;gt; ADHCOP and ADHVIL at minimum !
&lt;BR /&gt;I was thinking to use a routine with a String tabs return or hashMap and then redirect different value ...
&lt;BR /&gt;or write them in static variables and read them later 
&lt;BR /&gt;but don't find how do that !
&lt;BR /&gt;any suggestion will be appreciate 
&lt;BR /&gt;thanks 
&lt;BR /&gt;laurent</description>
      <pubDate>Sat, 16 Nov 2024 13:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/parse-and-split-String-in-a-tMap/m-p/2339911#M107996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: parse and split String in a tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/parse-and-split-String-in-a-tMap/m-p/2339912#M107997</link>
      <description>Hello,
&lt;BR /&gt;I would use the "var table" in the middle to create intermediate variables and do the splitting using several regex.
&lt;BR /&gt;If the extraction is really complex or you need to factorise this extraction elsewhere, create then use a routine.
&lt;BR /&gt;I would do a routine for each field i need to extract.</description>
      <pubDate>Thu, 18 Jun 2009 11:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/parse-and-split-String-in-a-tMap/m-p/2339912#M107997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-18T11:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: parse and split String in a tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/parse-and-split-String-in-a-tMap/m-p/2339913#M107998</link>
      <description>hi morbo and thanks for your reply 
&lt;BR /&gt;parse could be "complex" because some of name town will be split into several parts like french town "Plaisance du Touch" .... 
&lt;BR /&gt;I've also to analyse if the value before (normally postal code) IS a valide 'postal code' and so on ... 
&lt;BR /&gt;It's the reason why i was thinking about a routine ( and to re-use it 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;But in that case i couldn't return array or hashMap for redirection in just a tMap as result 
&lt;BR /&gt;So a hashMap in my routine with getter function for each 'validate' value !? 
&lt;BR /&gt;Edit : i think you're right if I make a getter function foreach values I need , and put result in a var .... 
&lt;BR /&gt;negatice point is that i've to read and analyse several time same string value ...</description>
      <pubDate>Thu, 18 Jun 2009 11:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/parse-and-split-String-in-a-tMap/m-p/2339913#M107998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-18T11:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: parse and split String in a tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/parse-and-split-String-in-a-tMap/m-p/2339914#M107999</link>
      <description>Hello, 
&lt;BR /&gt;Here is what u could do to avoid multiple reading : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Thu, 18 Jun 2009 13:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/parse-and-split-String-in-a-tMap/m-p/2339914#M107999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-18T13:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: parse and split String in a tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/parse-and-split-String-in-a-tMap/m-p/2339915#M108000</link>
      <description>seems it's what i'm looking for .... 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;gonna test it right now 
&lt;BR /&gt;thanks a lot Morbo 
&lt;BR /&gt;++ 
&lt;BR /&gt;Edit : It's OK Morbo ... great !</description>
      <pubDate>Thu, 18 Jun 2009 13:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/parse-and-split-String-in-a-tMap/m-p/2339915#M108000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-18T13:57:42Z</dc:date>
    </item>
  </channel>
</rss>

