<?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: Text Enclosure under CSV option of tfileOutputDelimited in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-under-CSV-option-of-tfileOutputDelimited/m-p/2336404#M104853</link>
    <description>&lt;P&gt;You need an additional subjob to rework the outputfile after it has been produced with your actual tFileOutputDelimited.&lt;/P&gt;
&lt;P&gt;In this new subjob, read the file with a tFileInputInputFullRow then in a tMap replace all the "" with the following expression:&lt;/P&gt;
&lt;PRE&gt;row1.line.replaceAll("\"\"", "")&lt;/PRE&gt;
&lt;P&gt;Then rewrite the output file with another tFileOutputDelimited component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2019 13:09:47 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2019-05-27T13:09:47Z</dc:date>
    <item>
      <title>Text Enclosure under CSV option of tfileOutputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-under-CSV-option-of-tfileOutputDelimited/m-p/2336403#M104852</link>
      <description>&lt;P&gt;Suppose I input file with data below (1st row as header)&lt;/P&gt;
&lt;P&gt;Column1|Column2|Column3|Column4&lt;BR /&gt;XYZ||ABC|&lt;BR /&gt;|LMN|ADI|MLN&lt;BR /&gt;GHI||LLL|AAA&lt;/P&gt;
&lt;P&gt;I am expecting the output to have value as below&lt;/P&gt;
&lt;P&gt;Output file data :-&lt;/P&gt;
&lt;P&gt;Column1|Column2|Column3|Column4&lt;BR /&gt;"XYZ"||"ABC"|&lt;BR /&gt;|"LMN"|"ADI"|"MLN"&lt;BR /&gt;"GHI"||"LLL"|"AAA"&lt;/P&gt;
&lt;P&gt;Whereever we have some value in a field ,it should be within double quotes (""). If no value is present in that field then no double quotes required. Fields are separated by |.&lt;/P&gt;
&lt;P&gt;I am not able to do this using Text Enclosure under CSV option of tfileOutputDelimited.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-under-CSV-option-of-tfileOutputDelimited/m-p/2336403#M104852</guid>
      <dc:creator>shameer1</dc:creator>
      <dc:date>2024-11-16T05:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Text Enclosure under CSV option of tfileOutputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-under-CSV-option-of-tfileOutputDelimited/m-p/2336404#M104853</link>
      <description>&lt;P&gt;You need an additional subjob to rework the outputfile after it has been produced with your actual tFileOutputDelimited.&lt;/P&gt;
&lt;P&gt;In this new subjob, read the file with a tFileInputInputFullRow then in a tMap replace all the "" with the following expression:&lt;/P&gt;
&lt;PRE&gt;row1.line.replaceAll("\"\"", "")&lt;/PRE&gt;
&lt;P&gt;Then rewrite the output file with another tFileOutputDelimited component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 13:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-under-CSV-option-of-tfileOutputDelimited/m-p/2336404#M104853</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-05-27T13:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Text Enclosure under CSV option of tfileOutputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-under-CSV-option-of-tfileOutputDelimited/m-p/2336405#M104854</link>
      <description>&lt;P&gt;check csv options&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csv options.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M51H.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143457iA4AB107F470C71B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M51H.png" alt="0683p000009M51H.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 14:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-under-CSV-option-of-tfileOutputDelimited/m-p/2336405#M104854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-27T14:28:27Z</dc:date>
    </item>
  </channel>
</rss>

