<?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 issue with string compare in tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/issue-with-string-compare-in-tMap/m-p/2327874#M97217</link>
    <description>Hi, 
&lt;BR /&gt;Not sure is there something wrong with the expression 
&lt;BR /&gt;(StringHandling.LEFT(row1.text1,3)=="PNL" ?(row1.text1):" not matching") 
&lt;BR /&gt;here is the data from the file 
&lt;BR /&gt; 
&lt;BR /&gt;QU HDQPNSY 
&lt;BR /&gt;.HDQRMSY 242150 
&lt;BR /&gt;PNL 
&lt;BR /&gt;SY0341/25MAR MSP PART3 
&lt;BR /&gt;-MCO121Y-PAD006 
&lt;BR /&gt;1HECKT/ALEXANDER-AM4 .R/CTCT MSP612 338 8880 A 
&lt;BR /&gt;.R/CTCH MSP763 545 9319 H .L/NWZAEA 
&lt;BR /&gt;1HECKT/CATHERINE-AM4 
&lt;BR /&gt;1HECKT/OLIVIA-AM4 
&lt;BR /&gt;and I am getting "not matching for all the rows" 
&lt;BR /&gt;Thanks,</description>
    <pubDate>Sat, 16 Nov 2024 14:01:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T14:01:01Z</dc:date>
    <item>
      <title>issue with string compare in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-string-compare-in-tMap/m-p/2327874#M97217</link>
      <description>Hi, 
&lt;BR /&gt;Not sure is there something wrong with the expression 
&lt;BR /&gt;(StringHandling.LEFT(row1.text1,3)=="PNL" ?(row1.text1):" not matching") 
&lt;BR /&gt;here is the data from the file 
&lt;BR /&gt; 
&lt;BR /&gt;QU HDQPNSY 
&lt;BR /&gt;.HDQRMSY 242150 
&lt;BR /&gt;PNL 
&lt;BR /&gt;SY0341/25MAR MSP PART3 
&lt;BR /&gt;-MCO121Y-PAD006 
&lt;BR /&gt;1HECKT/ALEXANDER-AM4 .R/CTCT MSP612 338 8880 A 
&lt;BR /&gt;.R/CTCH MSP763 545 9319 H .L/NWZAEA 
&lt;BR /&gt;1HECKT/CATHERINE-AM4 
&lt;BR /&gt;1HECKT/OLIVIA-AM4 
&lt;BR /&gt;and I am getting "not matching for all the rows" 
&lt;BR /&gt;Thanks,</description>
      <pubDate>Sat, 16 Nov 2024 14:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-string-compare-in-tMap/m-p/2327874#M97217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: issue with string compare in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-string-compare-in-tMap/m-p/2327875#M97218</link>
      <description>Hello, 
&lt;BR /&gt; With java : do not use == to compare String.
&lt;BR /&gt; you should use the equals methode like this :
&lt;BR /&gt; 
&lt;BR /&gt; (StringHandling.LEFT(row1.text1,3).equals("PNL")?(row1.text1):" not matching")</description>
      <pubDate>Fri, 27 Mar 2009 16:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-string-compare-in-tMap/m-p/2327875#M97218</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-27T16:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: issue with string compare in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-string-compare-in-tMap/m-p/2327876#M97219</link>
      <description>Thanks a lot emenuet, now its working as expected !</description>
      <pubDate>Fri, 27 Mar 2009 16:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-string-compare-in-tMap/m-p/2327876#M97219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-27T16:27:28Z</dc:date>
    </item>
  </channel>
</rss>

