<?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: Spliting a multi-line input message into many rows. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Spliting-a-multi-line-input-message-into-many-rows/m-p/2367859#M131189</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Push this string into a temporary file then read the file tFileInputFullRow&amp;nbsp;to get the content line by line.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2017 20:50:52 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-10-04T20:50:52Z</dc:date>
    <item>
      <title>Spliting a multi-line input message into many rows.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Spliting-a-multi-line-input-message-into-many-rows/m-p/2367858#M131188</link>
      <description>&lt;P&gt;Sorry for what is probably a very noob question.&lt;/P&gt;&lt;P&gt;I've an input message whose body is a multi-line data file, this is routed to a Talend Job, being received as a single String by tRouteInput.&lt;/P&gt;&lt;P&gt;When I pass this to tLogRow is it processed as a single row.&lt;/P&gt;&lt;P&gt;What I want to do is break this row into a sinlee row per line of the input message, but I can't find any components that will do this, so I think I must be missing something very simple.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any suggestions!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screwtape.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Spliting-a-multi-line-input-message-into-many-rows/m-p/2367858#M131188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Spliting a multi-line input message into many rows.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Spliting-a-multi-line-input-message-into-many-rows/m-p/2367859#M131189</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Push this string into a temporary file then read the file tFileInputFullRow&amp;nbsp;to get the content line by line.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 20:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Spliting-a-multi-line-input-message-into-many-rows/m-p/2367859#M131189</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-10-04T20:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Spliting a multi-line input message into many rows.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Spliting-a-multi-line-input-message-into-many-rows/m-p/2367860#M131190</link>
      <description>&lt;P&gt;Inspired by a slightly different solution I found on the the web for duplicating records, I have gone with a tJavaFlex solution, where I break the string into lines and iterate each line. It's not quite kosher, but it works:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Main Code:&lt;/P&gt; 
&lt;PRE&gt;for ( String strRow : row2.body.split( "\r?\n" ) ) {
	row3.body = strRow;&lt;/PRE&gt; 
&lt;P&gt;End Code:&lt;/P&gt; 
&lt;PRE&gt;}&lt;/PRE&gt; 
&lt;P&gt;I suspect I should increment some counters somewhere to make this a more complete solution, but it will do for now.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 14:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Spliting-a-multi-line-input-message-into-many-rows/m-p/2367860#M131190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-05T14:02:09Z</dc:date>
    </item>
  </channel>
</rss>

