<?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: Split the input string based on \n (newline character) and then assign each string to different n number of rows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300854#M73035</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Try the tNormalize component, this component can be used to split the column value to multiple rows. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2022 04:38:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-09T04:38:45Z</dc:date>
    <item>
      <title>Split the input string based on \n (newline character) and then assign each string to different n number of rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300853#M73034</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;requirement:  Split the input string of one column based on \n (new line character) and then capture first 5strings that are splitting earlier and then assign those 5strings to 5 different rows&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can do this&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually I am reading a&amp;nbsp;column which has n-number of strings with the new line character as a separator.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to read the whole string and then split the string based on &lt;B&gt;newline character&lt;/B&gt; and then assign the &lt;B&gt;&lt;I&gt;1st string to one output component and 2nd string to another output component and 3rd string to third output component.&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Can do this in tmap? If yes can someone please share me the example. Or if there’s another approach please let me know with an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;input column1: &lt;/U&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;data&lt;/P&gt;&lt;P&gt;mailing &lt;/P&gt;&lt;P&gt;details &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;output: &lt;/U&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;row1: Data&lt;/P&gt;&lt;P&gt;row2: mailing &lt;/P&gt;&lt;P&gt;row3: details &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300853#M73034</guid>
      <dc:creator>sk0</dc:creator>
      <dc:date>2024-11-15T22:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Split the input string based on \n (newline character) and then assign each string to different n number of rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300854#M73035</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Try the tNormalize component, this component can be used to split the column value to multiple rows. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 04:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300854#M73035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-09T04:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Split the input string based on \n (newline character) and then assign each string to different n number of rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300855#M73036</link>
      <description>&lt;P&gt;Hi @Shicong Hong​&amp;nbsp;I tried using tNormalize component and it didnt worked for me. In ITEM SEPARATOR i mentioned as "\n"&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 03:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300855#M73036</guid>
      <dc:creator>sk0</dc:creator>
      <dc:date>2022-05-24T03:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Split the input string based on \n (newline character) and then assign each string to different n number of rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300856#M73037</link>
      <description>&lt;P&gt;Can someone please help with the above issue &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 03:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300856#M73037</guid>
      <dc:creator>sk0</dc:creator>
      <dc:date>2022-05-24T03:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Split the input string based on \n (newline character) and then assign each string to different n number of rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300857#M73038</link>
      <description>&lt;P&gt;@S K​, Which OS? I made a testing on Windows, read the file content as a string , the file has 3 row of data in it , I set the separator as "\r\n" on tNormalize component, see below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000RiJgHAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151766i8AAE5BB9F44EE209/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000RiJgHAAV.png" alt="0695b00000RiJgHAAV.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 03:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300857#M73038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-24T03:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Split the input string based on \n (newline character) and then assign each string to different n number of rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300858#M73039</link>
      <description>I used tfileinputdelimited and it didn’t worked but when I used tfilerawinput component it worked fine. Is there’s a way that I can implement the same logic in tmap? Please let me know</description>
      <pubDate>Tue, 24 May 2022 04:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300858#M73039</guid>
      <dc:creator>sk0</dc:creator>
      <dc:date>2022-05-24T04:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Split the input string based on \n (newline character) and then assign each string to different n number of rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300859#M73040</link>
      <description>&lt;P&gt;where's the data are stored in real case?  tfileInputRaw read the whole file content as only one row, tfileInputDelimited read the file line by line and the output data will not contain \n new line character.&lt;/P&gt;&lt;P&gt;tMap is not the right component used to split one row to multiple rows. &lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 05:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300859#M73040</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-24T05:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Split the input string based on \n (newline character) and then assign each string to different n number of rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300860#M73041</link>
      <description>Thanks Shong for your time and help. Appreciated</description>
      <pubDate>Tue, 24 May 2022 05:18:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-input-string-based-on-n-newline-character-and-then/m-p/2300860#M73041</guid>
      <dc:creator>sk0</dc:creator>
      <dc:date>2022-05-24T05:18:57Z</dc:date>
    </item>
  </channel>
</rss>

