<?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: How to replace a point in tMap/StringHandling.CHANGE in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225533#M17795</link>
    <description>Hello Gabriel,&lt;BR /&gt;Think you just want to do Date Format function instead:&lt;BR /&gt;TalendDate.formatDate("yyyyMMddhhmmss", row1.my_date)&lt;BR /&gt;This will take any Date column and convert it to a string in the format you specify.</description>
    <pubDate>Mon, 09 Mar 2015 21:28:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-09T21:28:46Z</dc:date>
    <item>
      <title>How to replace a point in tMap/StringHandling.CHANGE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225529#M17791</link>
      <description>Hello, 
&lt;BR /&gt;I want to replace a point (.) in a tMap with nothing. I use StringHandling.CHANGE(row1.D,".","") but all the characters are out. 
&lt;BR /&gt;How can I do ? 
&lt;BR /&gt;Excuse me for my poor english ... 
&lt;BR /&gt;Thanh You</description>
      <pubDate>Sat, 16 Nov 2024 14:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225529#M17791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace a point in tMap/StringHandling.CHANGE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225530#M17792</link>
      <description>Use this code: 
&lt;BR /&gt; 
&lt;PRE&gt;StringHandling.CHANGE(row1.D,"\\.","")&lt;/PRE&gt; 
&lt;BR /&gt;Second parameter is considered as a regular expression, it seems to me this basic function shouldn't use regexp to replace strings. 
&lt;BR /&gt;You can add a feature in our Bugtracker to add a "simple" replace strings function.</description>
      <pubDate>Wed, 25 Jun 2008 14:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225530#M17792</guid>
      <dc:creator>amaumont</dc:creator>
      <dc:date>2008-06-25T14:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace a point in tMap/StringHandling.CHANGE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225531#M17793</link>
      <description>Thank You !</description>
      <pubDate>Wed, 25 Jun 2008 14:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225531#M17793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-25T14:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace a point in tMap/StringHandling.CHANGE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225532#M17794</link>
      <description>Hello all,
&lt;BR /&gt;Can you please help in converting the date&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;2015-02-02 07:54:50 to 20150202075450 please ?&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;I have been trying the below in a tMap but is issues errors :&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;StringHandling.EREPLACE(StringHandling.EREPLACE(row1.my_date,"-",""),":","").&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;It is normal somehow since the input value has type "date" whereas EREPLACE considers type "string". Can you please advise on what I shall use to get this done ?&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Thank you and best regards,&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;Gabriel&amp;nbsp;</description>
      <pubDate>Thu, 05 Feb 2015 21:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225532#M17794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-05T21:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace a point in tMap/StringHandling.CHANGE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225533#M17795</link>
      <description>Hello Gabriel,&lt;BR /&gt;Think you just want to do Date Format function instead:&lt;BR /&gt;TalendDate.formatDate("yyyyMMddhhmmss", row1.my_date)&lt;BR /&gt;This will take any Date column and convert it to a string in the format you specify.</description>
      <pubDate>Mon, 09 Mar 2015 21:28:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225533#M17795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-09T21:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace a point in tMap/StringHandling.CHANGE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225534#M17796</link>
      <description>If you still looking for solution then, I would suggest first parse the original date then use above &lt;A href="http://dwetl.com/2015/01/16/convert-string-to-date/" target="_blank" rel="nofollow noopener noreferrer"&gt;Date&amp;nbsp;format&lt;/A&gt; to get the desire output.&amp;nbsp;&lt;BR /&gt;e.g.&amp;nbsp;&lt;BR /&gt;&lt;PRE&gt;System.out.println(TalendDate.formatDate("yyyyMMddhhmmss", TalendDate.parseDate("yyyy-MM-dd HH:mm:ss", "2015-02-02 07:54:50")));&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Mar 2015 06:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-a-point-in-tMap-StringHandling-CHANGE/m-p/2225534#M17796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-10T06:03:49Z</dc:date>
    </item>
  </channel>
</rss>

