<?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 string on whole input line in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316257#M86822</link>
    <description>Hello 
&lt;BR /&gt;Can you give us an example to expain your problem?
&lt;BR /&gt;Does the tFileInputFullRow fit your need? It read the whole line as a column.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
    <pubDate>Tue, 08 Sep 2009 07:10:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-09-08T07:10:06Z</dc:date>
    <item>
      <title>replace string on whole input line</title>
      <link>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316256#M86821</link>
      <description>Hi,&lt;BR /&gt;I'd like to replace strings on the whole input line in one step. Is this possible?&lt;BR /&gt;My file has &amp;gt;100 columns so I guess it was a performance drawback to replace them column by column. &lt;BR /&gt;Thanks&lt;BR /&gt;Guenter</description>
      <pubDate>Sat, 16 Nov 2024 13:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316256#M86821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: replace string on whole input line</title>
      <link>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316257#M86822</link>
      <description>Hello 
&lt;BR /&gt;Can you give us an example to expain your problem?
&lt;BR /&gt;Does the tFileInputFullRow fit your need? It read the whole line as a column.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 08 Sep 2009 07:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316257#M86822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-08T07:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: replace string on whole input line</title>
      <link>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316258#M86823</link>
      <description>Example:
&lt;BR /&gt;Input row structure:
&lt;BR /&gt;Text1;Float1;Text2;Text3;.Float2;Float3;Int1;Time1;...;Text130;...Textn
&lt;BR /&gt;The input consists of hundreds of columns. Since the text fields can contain unwanted characters like | &amp;amp; @ \n I need to replace them by other characters.
&lt;BR /&gt;After replacement I have to process the rows column by column.
&lt;BR /&gt;So my request is to do the replacement on the complete input row in one step regardless of the structure.
&lt;BR /&gt;tFileInputFullRow provides the whole row as one string but:
&lt;BR /&gt;1. input rows may contain \n (enclosed by " according to rfc4180) 
&lt;BR /&gt;2. how can I map the complete row(=1 string) to the columns needed for further processing? 
&lt;BR /&gt;Other ideas:
&lt;BR /&gt;1) Is it possible to read the file line by line, do the replacement, write the lines to an in-memory-file and open the in-memory-file with the tFileInputDelimited component?
&lt;BR /&gt;2)
&lt;BR /&gt;- use sed in a tSystem-component for replacement
&lt;BR /&gt;- read the sed-output via a pipe
&lt;BR /&gt;Is this possible?
&lt;BR /&gt;Thanks
&lt;BR /&gt;Guenter</description>
      <pubDate>Wed, 09 Sep 2009 09:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316258#M86823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-09T09:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: replace string on whole input line</title>
      <link>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316259#M86824</link>
      <description>I have exactly this problem (as per the most recent message which doesn't look like it was ever answered) - any idea what the best solution is? 
&lt;BR /&gt;Thanks very much</description>
      <pubDate>Thu, 29 Sep 2011 19:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316259#M86824</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-09-29T19:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: replace string on whole input line</title>
      <link>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316260#M86825</link>
      <description>Same problem here. Any hints?</description>
      <pubDate>Thu, 27 Sep 2012 14:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316260#M86825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-27T14:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: replace string on whole input line</title>
      <link>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316261#M86826</link>
      <description>Read each row as a single data item and do the replace on that.</description>
      <pubDate>Thu, 27 Sep 2012 15:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316261#M86826</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-09-27T15:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: replace string on whole input line</title>
      <link>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316262#M86827</link>
      <description>tFileInputFullRow --&amp;gt; tReplace --&amp;gt; tExtractDelimitedFields --&amp;gt; 
&lt;BR /&gt;or 
&lt;BR /&gt;tFileInputDelimited --&amp;gt; tJavaRow --&amp;gt; using reflection to cycle through the fields and do your replace (see 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCn49CAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-Automatically-trim-non-String-fields/td-p/86607&lt;/A&gt;)</description>
      <pubDate>Fri, 28 Sep 2012 08:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/replace-string-on-whole-input-line/m-p/2316262#M86827</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-09-28T08:38:10Z</dc:date>
    </item>
  </channel>
</rss>

