<?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: String Method syntax in tMap Expression for Two seperate columns values have to have two distinct values for a seperate column to have a True or False Value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/String-Method-syntax-in-tMap-Expression-for-Two-seperate-columns/m-p/2268687#M47169</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the syntax looks correct, but you always could (and it very useful) make a small test for parts of a big&amp;nbsp; job&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it is very complicated to test not a finished job, but nothing easier than creating simple:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;tFixedFlowInput&lt;/LI&gt;
 &lt;LI&gt;tMap&lt;/LI&gt;
 &lt;LI&gt;tLogRow&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I have in any project folder tests where located any small tests and ideas what we want to check&lt;/P&gt;</description>
    <pubDate>Sun, 17 Feb 2019 20:41:03 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2019-02-17T20:41:03Z</dc:date>
    <item>
      <title>String Method syntax in tMap Expression for Two seperate columns values have to have two distinct values for a seperate column to have a True or False Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-Method-syntax-in-tMap-Expression-for-Two-seperate-columns/m-p/2268686#M47168</link>
      <description>&lt;P&gt;I am wondering how I can nest a if then else statement based off of two seperate values in the two diffrent columns So a diffrent column would have a True or False Value.&lt;/P&gt; 
&lt;P&gt;This is a typical If then else string method in java&lt;/P&gt; 
&lt;P&gt;column1.equals("Home Phone")? "True":"False"&lt;/P&gt; 
&lt;P&gt;If I wanted to add another column with a distinct value would the syntax be&lt;/P&gt; 
&lt;P&gt;column2.equals("Fax") &amp;amp;&amp;amp;&amp;nbsp;column1.equals("Home Phone")? "True":"False"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm in early development of a job and can't run the job yet, so just making sure the syntax is right from the start.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Let me know,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 15:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-Method-syntax-in-tMap-Expression-for-Two-seperate-columns/m-p/2268686#M47168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-15T15:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: String Method syntax in tMap Expression for Two seperate columns values have to have two distinct values for a seperate column to have a True or False Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-Method-syntax-in-tMap-Expression-for-Two-seperate-columns/m-p/2268687#M47169</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the syntax looks correct, but you always could (and it very useful) make a small test for parts of a big&amp;nbsp; job&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it is very complicated to test not a finished job, but nothing easier than creating simple:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;tFixedFlowInput&lt;/LI&gt;
 &lt;LI&gt;tMap&lt;/LI&gt;
 &lt;LI&gt;tLogRow&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I have in any project folder tests where located any small tests and ideas what we want to check&lt;/P&gt;</description>
      <pubDate>Sun, 17 Feb 2019 20:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-Method-syntax-in-tMap-Expression-for-Two-seperate-columns/m-p/2268687#M47169</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-02-17T20:41:03Z</dc:date>
    </item>
  </channel>
</rss>

