<?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: Remove quotes from comma delimited file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298154#M70653</link>
    <description>I have one error I cannot get by. The csv has a date in quotes. I am receiving an error replaceAll undefined for date. How can I get past this?</description>
    <pubDate>Thu, 19 Oct 2017 13:00:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-19T13:00:57Z</dc:date>
    <item>
      <title>Remove quotes from comma delimited file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298150#M70649</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have the following workflow:&lt;/P&gt; 
&lt;P&gt;tFileInputDelimited -&amp;gt; tmap&amp;nbsp;-&amp;gt; databaseOutput&lt;/P&gt; 
&lt;P&gt;The program that created the csv file (and will do so daily) is adding quotes to the strings and dates, however, I need to remove these&amp;nbsp;quotes prior to it being sent to tmap. How can I do this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298150#M70649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Remove quotes from comma delimited file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298151#M70650</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You may add a tJavaRow before the tMap component to remove the quotes from the concerned fields:&lt;/P&gt;
&lt;PRE&gt;output_row.yourField = input_row.yourField.replaceAll("\"", "");&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 08:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298151#M70650</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-10-19T08:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Remove quotes from comma delimited file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298152#M70651</link>
      <description>&lt;P&gt;When you say yourfield, what does this represent? The quotes show up in several places in the row, but not always the same place.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 11:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298152#M70651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-19T11:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Remove quotes from comma delimited file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298153#M70652</link>
      <description>&lt;P&gt;I played with tjavarow&amp;nbsp;and figured out how to use it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 12:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298153#M70652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-19T12:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove quotes from comma delimited file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298154#M70653</link>
      <description>I have one error I cannot get by. The csv has a date in quotes. I am receiving an error replaceAll undefined for date. How can I get past this?</description>
      <pubDate>Thu, 19 Oct 2017 13:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298154#M70653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-19T13:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Remove quotes from comma delimited file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298155#M70654</link>
      <description>You're welcome</description>
      <pubDate>Thu, 19 Oct 2017 13:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298155#M70654</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-10-19T13:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Remove quotes from comma delimited file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298156#M70655</link>
      <description>Unless I'm misunderstanding, you can configure tFileInputDelimited to remove quotes around incoming values by checking CSV Options and setting Text Enclosure to "\""</description>
      <pubDate>Thu, 19 Oct 2017 13:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298156#M70655</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-10-19T13:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Remove quotes from comma delimited file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298157#M70656</link>
      <description>&lt;P&gt;Thanks cterenzi. I hadn't considered selecting csv options for my tab delimited file to get rid of the double quotes universally throughout the tfileinputdelimited. Solved a lot of ad hoc changes I was making later on.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 14:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298157#M70656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-13T14:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Remove quotes from comma delimited file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298158#M70657</link>
      <description>I like this method.. Simple since built into the "File Delimited" meta data creation. You can also see result in the preview window (after refresh preview)</description>
      <pubDate>Fri, 09 Nov 2018 19:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298158#M70657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-09T19:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Remove quotes from comma delimited file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298159#M70658</link>
      <description>&lt;P&gt;As mentioned by&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLooAAG"&gt;@cterenzi&lt;/A&gt;, use CSV option checked in tFileInputDelimited component.&lt;/P&gt; 
&lt;P&gt;It will removes the starting and ending double quotes. No need to use tJavaRow or any other logic before passing to the tMap.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In other case, suppose a column &lt;STRONG&gt;book_name &lt;/STRONG&gt;in which a data is coming as below:&lt;/P&gt; 
&lt;PRE&gt;id | book_name
---|----------------------------------
15 | "The Alchemist by "Pauolo" Cohello"&lt;/PRE&gt; 
&lt;P&gt;In such case, when you use CSV option checked, the output is:&lt;/P&gt; 
&lt;PRE&gt;&lt;STRONG&gt;The Alchemist by &lt;/STRONG&gt;&lt;/PRE&gt; 
&lt;P&gt;As the CSV option is checked in input component, it finds for the ending (i.e. next double quote) double quote, and it will trim the reminder data.&lt;/P&gt; 
&lt;P&gt;To overcome this issue, use java's replace method in tMap as shown below:&lt;/P&gt; 
&lt;PRE&gt;row1.book_name.replace("\"","")&lt;/PRE&gt; 
&lt;P&gt;This will provide you desired output.&lt;/P&gt; 
&lt;P&gt;Give kudos if this works for you.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please share any other way around apart from this if anyone has.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Vaibhav&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 13:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-quotes-from-comma-delimited-file/m-p/2298159#M70658</guid>
      <dc:creator>vaibs_parab</dc:creator>
      <dc:date>2019-06-03T13:39:07Z</dc:date>
    </item>
  </channel>
</rss>

