<?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: Blank value handling in tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242347#M29212</link>
    <description>You have nulls handled. Do you mean empty Strings ("")? If so, you need to check like this....
&lt;BR /&gt;
&lt;PRE&gt;row2.aaa==null||row2.aaa.trim().compareToIgnoreCase("")==0|| row2.bbb==null||row2.bbb.trim().compareToIgnoreCase("")==0&lt;/PRE&gt;
&lt;BR /&gt;First you need to check for null for your object, then check for an empty String. The "trim()" is there to remove spaces (if spaces are OK, you will need to remove that section), the "compareToIgnoreCase()" is used to compare the value to "" (an empty String).</description>
    <pubDate>Tue, 08 Dec 2015 10:20:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-08T10:20:06Z</dc:date>
    <item>
      <title>Blank value handling in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242346#M29211</link>
      <description>Hi Team ,&lt;BR /&gt;In my source input file I have null and blank value which I need to populate in separate file .&lt;BR /&gt;For Null I have implemented below logic , but do not know how do I handle blank values ..Please help me with logic&lt;BR /&gt;&lt;FONT size="1"&gt;row2.aaa==null|| row3.bbb==null&lt;/FONT&gt;</description>
      <pubDate>Tue, 08 Dec 2015 09:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242346#M29211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-08T09:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Blank value handling in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242347#M29212</link>
      <description>You have nulls handled. Do you mean empty Strings ("")? If so, you need to check like this....
&lt;BR /&gt;
&lt;PRE&gt;row2.aaa==null||row2.aaa.trim().compareToIgnoreCase("")==0|| row2.bbb==null||row2.bbb.trim().compareToIgnoreCase("")==0&lt;/PRE&gt;
&lt;BR /&gt;First you need to check for null for your object, then check for an empty String. The "trim()" is there to remove spaces (if spaces are OK, you will need to remove that section), the "compareToIgnoreCase()" is used to compare the value to "" (an empty String).</description>
      <pubDate>Tue, 08 Dec 2015 10:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242347#M29212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-08T10:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Blank value handling in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242348#M29213</link>
      <description>IH team ,&lt;BR /&gt;Please look the screen shot below values&lt;BR /&gt;Arow&amp;nbsp; &amp;nbsp;Brow&lt;BR /&gt;add1&amp;nbsp;&amp;nbsp; end2&lt;BR /&gt;null&amp;nbsp;&amp;nbsp;&amp;nbsp; end3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; deie&lt;BR /&gt;ww&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Few values ==null&lt;BR /&gt;Few values==empty (with outspace)&lt;BR /&gt;few values== with space ...&lt;BR /&gt;I need to capture .. no data but .. there is space. (similar to null buut with space only)&lt;BR /&gt;Can u please tell me how can I do this</description>
      <pubDate>Tue, 08 Dec 2015 11:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242348#M29213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-08T11:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Blank value handling in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242349#M29214</link>
      <description>I am not sure what you want. The solution I added above will help you capture null, " ", " &amp;nbsp; &amp;nbsp; &amp;nbsp;", and "". The only thing you will need to refine is the logic. The above code will accept all of those values. If you want to filter them out, you will need to use &amp;nbsp;NOTs and ANDs.</description>
      <pubDate>Tue, 08 Dec 2015 11:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242349#M29214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-08T11:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Blank value handling in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242350#M29215</link>
      <description>Above solution is not working it says invalid , my question is very simple I need to handle string which has length , but no value ( string with blank )</description>
      <pubDate>Wed, 09 Dec 2015 08:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242350#M29215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-09T08:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Blank value handling in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242351#M29216</link>
      <description>The solution will work, but maybe your implementation of it has errors. It is easier if you post exactly what you are doing (ie post your code) then we can tell you what is wrong.</description>
      <pubDate>Wed, 09 Dec 2015 09:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242351#M29216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-09T09:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Blank value handling in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242352#M29217</link>
      <description>Also can you give the exact error message and datatypes involved?</description>
      <pubDate>Wed, 09 Dec 2015 09:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Blank-value-handling-in-tmap/m-p/2242352#M29217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-09T09:20:13Z</dc:date>
    </item>
  </channel>
</rss>

