<?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: comparing string to a list of strings in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/comparing-string-to-a-list-of-strings/m-p/2282328#M56587</link>
    <description>&lt;P&gt;I can' t do that . because you can find for exemple "classic rock" as a tag_name value but in genre attribute you can find&amp;nbsp; values as "rock" so in this case I want to return just rock&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Nov 2018 17:50:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-28T17:50:35Z</dc:date>
    <item>
      <title>comparing string to a list of strings</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-string-to-a-list-of-strings/m-p/2282326#M56585</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm sorry if this topic is&amp;nbsp; already published.but I can' t find a better way to resolve my problem.&lt;/P&gt; 
&lt;P&gt;I have&amp;nbsp;a tmap&amp;nbsp; below as a screenshot.&lt;/P&gt; 
&lt;P&gt;I want to return for every title_song&amp;nbsp; a musical genre using tag_name . in tags you can find genres or subsubgenres . so I need to see if genre attribute contains tag_name&amp;nbsp; as a substring so return that genre and the title_song corresponding to it else return "others".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How to do this with talend ?&lt;/P&gt; 
&lt;P&gt;Thank you&amp;nbsp;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmap.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1BD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149409i4BFA9D94AEBD4E0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1BD.png" alt="0683p000009M1BD.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 15:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-string-to-a-list-of-strings/m-p/2282326#M56585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-28T15:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: comparing string to a list of strings</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-string-to-a-list-of-strings/m-p/2282327#M56586</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try to make a left outer join between the tag name and the genre field.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MElP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155235iE79DF4D2D546F818/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MElP.png" alt="0683p000009MElP.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 16:53:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-string-to-a-list-of-strings/m-p/2282327#M56586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-28T16:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: comparing string to a list of strings</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-string-to-a-list-of-strings/m-p/2282328#M56587</link>
      <description>&lt;P&gt;I can' t do that . because you can find for exemple "classic rock" as a tag_name value but in genre attribute you can find&amp;nbsp; values as "rock" so in this case I want to return just rock&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 17:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-string-to-a-list-of-strings/m-p/2282328#M56587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-28T17:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: comparing string to a list of strings</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-string-to-a-list-of-strings/m-p/2282329#M56588</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You will have to align the genre and tags correctly so that your left outer join will work in proper way. So if a song has multiple tags, why don't you break it to granular level and then go for the matching?&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>Thu, 29 Nov 2018 05:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-string-to-a-list-of-strings/m-p/2282329#M56588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-29T05:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: comparing string to a list of strings</title>
      <link>https://community.qlik.com/t5/Talend-Studio/comparing-string-to-a-list-of-strings/m-p/2282330#M56589</link>
      <description>&lt;P&gt;tNormalize Component should help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pierre.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 08:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/comparing-string-to-a-list-of-strings/m-p/2282330#M56589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-29T08:46:37Z</dc:date>
    </item>
  </channel>
</rss>

