<?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: Carriage return | Multiple rows in a single field in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Carriage-return-Multiple-rows-in-a-single-field/m-p/2374646#M137214</link>
    <description>&lt;P&gt;Hi, you can try to read the file with tFileInputRaw then you replace \r with the end of line you want :&lt;/P&gt;&lt;P&gt;input_row.replaceAll("\\\\r","\\n") if you want LF&lt;/P&gt;&lt;P&gt;input_row.replaceAll("\\\\r","\\r\\n") if you want CRLF&lt;/P&gt;&lt;P&gt;input_row.replaceAll("\\\\r","\\r") if you want CR&lt;/P&gt;&lt;P&gt; or then you can write it with tFileOutputRaw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;finally you can read the new file corrected.&lt;/P&gt;&lt;P&gt;Send me love and kudos&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 08:22:25 GMT</pubDate>
    <dc:creator>gjeremy1617088143</dc:creator>
    <dc:date>2021-11-19T08:22:25Z</dc:date>
    <item>
      <title>Carriage return | Multiple rows in a single field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Carriage-return-Multiple-rows-in-a-single-field/m-p/2374645#M137213</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;I have aan input file with multiple fields. Some of the fields has CR or \r in the flow so as to continue data in single field but in a new row:&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Field1;Field2; Field3&lt;/P&gt;&lt;P&gt;​1;abc;Hello&lt;/P&gt;&lt;P&gt;​2;xyz;Hello\rWorld\rBye&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;This should eventually be fed in the table as:&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Field1|Field2|Field3&lt;/P&gt;&lt;P&gt;​1|abc|Hello&lt;/P&gt;&lt;P&gt;​2|xyz|Hello&lt;/P&gt;&lt;P&gt;         World&lt;/P&gt;&lt;P&gt;          Bye&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;I tried different posts the solution doesn't seem to fit to my needs. Can someone help?&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eureka​&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Carriage-return-Multiple-rows-in-a-single-field/m-p/2374645#M137213</guid>
      <dc:creator>MEureka1636576605</dc:creator>
      <dc:date>2024-11-15T23:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Carriage return | Multiple rows in a single field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Carriage-return-Multiple-rows-in-a-single-field/m-p/2374646#M137214</link>
      <description>&lt;P&gt;Hi, you can try to read the file with tFileInputRaw then you replace \r with the end of line you want :&lt;/P&gt;&lt;P&gt;input_row.replaceAll("\\\\r","\\n") if you want LF&lt;/P&gt;&lt;P&gt;input_row.replaceAll("\\\\r","\\r\\n") if you want CRLF&lt;/P&gt;&lt;P&gt;input_row.replaceAll("\\\\r","\\r") if you want CR&lt;/P&gt;&lt;P&gt; or then you can write it with tFileOutputRaw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;finally you can read the new file corrected.&lt;/P&gt;&lt;P&gt;Send me love and kudos&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 08:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Carriage-return-Multiple-rows-in-a-single-field/m-p/2374646#M137214</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-11-19T08:22:25Z</dc:date>
    </item>
  </channel>
</rss>

