<?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: Replace to all columns in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266039#M45387</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;you could just use tFileInputFullRow -- tJavaRow -- "someOutPut" like in the follwoing screenshot...of course you can do type conversions etc. in the Java Code.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="replaceRowandSpli.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8iO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138409i334D5C4BADCC771F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8iO.png" alt="0683p000009M8iO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2020 13:19:43 GMT</pubDate>
    <dc:creator>CriticalMass</dc:creator>
    <dc:date>2020-01-23T13:19:43Z</dc:date>
    <item>
      <title>Replace to all columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266036#M45384</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a file with&amp;nbsp; 16 columns. Most of these columns have special characters ^~. I want to erase these symbols from all columns but I dont want to go in every column and put replaceAll(). I want to find a way to apply this method (.replaceAll()) one time and catch all columns.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 10:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266036#M45384</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-01-23T10:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace to all columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266037#M45385</link>
      <description>Read your input file with tFileInputRaw or tFileInputFullRow. It will give you every record as a single column in which you can go with String.replaceAll to operate the substitution. Then create a new output file and get this one to proceed with the rest of the job.</description>
      <pubDate>Thu, 23 Jan 2020 12:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266037#M45385</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-01-23T12:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Replace to all columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266038#M45386</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where I will put the String.replaceALL() ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 13:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266038#M45386</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-01-23T13:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Replace to all columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266039#M45387</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;you could just use tFileInputFullRow -- tJavaRow -- "someOutPut" like in the follwoing screenshot...of course you can do type conversions etc. in the Java Code.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="replaceRowandSpli.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8iO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138409i334D5C4BADCC771F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8iO.png" alt="0683p000009M8iO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 13:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266039#M45387</guid>
      <dc:creator>CriticalMass</dc:creator>
      <dc:date>2020-01-23T13:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Replace to all columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266040#M45388</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005390000069MKwAAM"&gt;@CriticalMass&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks a lot for your answer. The only wαy to achieve this is with array?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 13:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266040#M45388</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-01-23T13:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replace to all columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266041#M45389</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQe1AAG"&gt;@DrGenious&lt;/A&gt;, as in the other example, use a tJavaRow:&lt;BR /&gt;tFileInputRaw --&amp;gt; tJavaRow --&amp;gt; tFileOutputRaw&lt;BR /&gt;Here is the expression you have to use:&lt;/P&gt; 
&lt;PRE&gt;output.content = input.content.replaceAll("\^~", "");&amp;nbsp;&lt;/PRE&gt; 
&lt;P&gt;Other solution is good as you don't have read the file twice but if data contains the field separator character, it will not work as expected.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 13:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266041#M45389</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-01-23T13:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Replace to all columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266042#M45390</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/0053p000007LQe1AAG"&gt;@DrGenious&lt;/A&gt;, did this help?
&lt;BR /&gt;If so, thanks to mark your case as solved (Kudos also accepted).</description>
      <pubDate>Sun, 26 Jan 2020 18:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-to-all-columns/m-p/2266042#M45390</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-01-26T18:17:44Z</dc:date>
    </item>
  </channel>
</rss>

