<?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: Take comma separated string and input into list in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Take-comma-separated-string-and-input-into-list/m-p/2240306#M27840</link>
    <description>&lt;P&gt;I have also come across this scenario, I have fixed my issue by using below flow&lt;/P&gt;&lt;P&gt;trowgenerator&amp;gt; tnormalize &amp;gt; tflowtoiterate &amp;gt; tjava&lt;/P&gt;&lt;P&gt;[Note: In tRowGenerator you have to get the context variables ,which you have in your configuration file.Then In tnormalize component&amp;nbsp; separated by comma ]&lt;/P&gt;</description>
    <pubDate>Fri, 12 Oct 2018 15:37:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-12T15:37:06Z</dc:date>
    <item>
      <title>Take comma separated string and input into list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Take-comma-separated-string-and-input-into-list/m-p/2240302#M27836</link>
      <description>Hi,
&lt;BR /&gt;I have a string input as a context (myContext = "item1,item2,item3,item4") and I want to be able to iterate over the comma separated values. I have used a tNormalise component to separate out the elements of the string but can I load these into an array so that I can create an iterative loop and do something with each element?
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Dan</description>
      <pubDate>Sun, 05 Feb 2017 21:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Take-comma-separated-string-and-input-into-list/m-p/2240302#M27836</guid>
      <dc:creator>danped</dc:creator>
      <dc:date>2017-02-05T21:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Take comma separated string and input into list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Take-comma-separated-string-and-input-into-list/m-p/2240303#M27837</link>
      <description>Yes you can. If you are receiving them in a context variable, you can use a tJavaFlex. Convert them to an ArrayList in the Start Code section and then open a While loop in that section. Use the Main Code section to do whatever you want to do with the ArrayList (maybe output a row for each value?) and then close the loop in the End Code section. 
&lt;BR /&gt;Although I am not doing precisely this in this tutorial ( 
&lt;A href="https://www.rilhia.com/quicktips/quick-tip-row-multiplication" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/quicktips/quick-tip-row-multiplication&lt;/A&gt;) it demonstrates how you can generate rows using a tJavaFlex. If you have some Java, you should be able to extrapolate.</description>
      <pubDate>Sun, 05 Feb 2017 21:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Take-comma-separated-string-and-input-into-list/m-p/2240303#M27837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-05T21:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Take comma separated string and input into list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Take-comma-separated-string-and-input-into-list/m-p/2240304#M27838</link>
      <description>You can do as described above with tJavaFlex,&lt;BR /&gt;as alternative You can use&amp;nbsp;&lt;BR /&gt;tInputXXX -&amp;gt; tNormalise -&amp;gt; tFlowToIterate &amp;nbsp;and then continue work with single element in Loop&lt;BR /&gt;tInputXXX -&amp;gt; onSubJobOk - will continue Job after finish the loop</description>
      <pubDate>Sun, 05 Feb 2017 22:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Take-comma-separated-string-and-input-into-list/m-p/2240304#M27838</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-02-05T22:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Take comma separated string and input into list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Take-comma-separated-string-and-input-into-list/m-p/2240305#M27839</link>
      <description>Thanks both, vapoukov's method works a treat and avoids me using any java.&amp;nbsp;Rilhia Solutions looks like a great resource - thanks.</description>
      <pubDate>Mon, 06 Feb 2017 21:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Take-comma-separated-string-and-input-into-list/m-p/2240305#M27839</guid>
      <dc:creator>danped</dc:creator>
      <dc:date>2017-02-06T21:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Take comma separated string and input into list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Take-comma-separated-string-and-input-into-list/m-p/2240306#M27840</link>
      <description>&lt;P&gt;I have also come across this scenario, I have fixed my issue by using below flow&lt;/P&gt;&lt;P&gt;trowgenerator&amp;gt; tnormalize &amp;gt; tflowtoiterate &amp;gt; tjava&lt;/P&gt;&lt;P&gt;[Note: In tRowGenerator you have to get the context variables ,which you have in your configuration file.Then In tnormalize component&amp;nbsp; separated by comma ]&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 15:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Take-comma-separated-string-and-input-into-list/m-p/2240306#M27840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-12T15:37:06Z</dc:date>
    </item>
  </channel>
</rss>

