<?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: [resolved] tReplace and wildcard? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tReplace-and-wildcard/m-p/2288643#M62111</link>
    <description>Hi Xdshi,
&lt;BR /&gt;I have a column that contains Job Titles like: Area Sales Manager, Product Sales or Director of Sales. This is what I would like to do, if this column contains the word sales "sales", I want to replace the entire value such as (Area Sales Manager) to just the word "sales". Can this be done using the tReplace?
&lt;BR /&gt;Thanks</description>
    <pubDate>Mon, 11 Jul 2016 20:22:47 GMT</pubDate>
    <dc:creator>profuse</dc:creator>
    <dc:date>2016-07-11T20:22:47Z</dc:date>
    <item>
      <title>[resolved] tReplace and wildcard?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tReplace-and-wildcard/m-p/2288641#M62109</link>
      <description>Hi,&lt;BR /&gt;In the tReplace search column can you use a wildcard? If so, what is the wildcard value?&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 08 Jul 2016 18:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tReplace-and-wildcard/m-p/2288641#M62109</guid>
      <dc:creator>profuse</dc:creator>
      <dc:date>2016-07-08T18:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tReplace and wildcard?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tReplace-and-wildcard/m-p/2288642#M62110</link>
      <description>Hi,&lt;BR /&gt;You can use&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;wildcard in tReplace component, such as:$, *,. Please take a look at component reference :&lt;A href="https://help.talend.com/search/all?query=tReplace&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tReplace&lt;/A&gt;&amp;nbsp;with related scenario.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;What's your job requirement? Could you please set an example for us?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 11 Jul 2016 05:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tReplace-and-wildcard/m-p/2288642#M62110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-11T05:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tReplace and wildcard?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tReplace-and-wildcard/m-p/2288643#M62111</link>
      <description>Hi Xdshi,
&lt;BR /&gt;I have a column that contains Job Titles like: Area Sales Manager, Product Sales or Director of Sales. This is what I would like to do, if this column contains the word sales "sales", I want to replace the entire value such as (Area Sales Manager) to just the word "sales". Can this be done using the tReplace?
&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 11 Jul 2016 20:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tReplace-and-wildcard/m-p/2288643#M62111</guid>
      <dc:creator>profuse</dc:creator>
      <dc:date>2016-07-11T20:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tReplace and wildcard?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tReplace-and-wildcard/m-p/2288644#M62112</link>
      <description>&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Hi,&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;If we understand your requirement very well, &amp;nbsp;you can use tMap to achieve your goal.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Here is&amp;nbsp;ternary if-else operator in tMap.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;The expression should be:condition?(value if true): (value if false)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Please take a look at my screenshots for details&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAyN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153592i162492EFEF4B0340/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAyN.png" alt="0683p000009MAyN.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAyO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131919iECE2802E0661FD40/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAyO.png" alt="0683p000009MAyO.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAyS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136760iE20599190841D69E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAyS.png" alt="0683p000009MAyS.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 12 Jul 2016 09:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tReplace-and-wildcard/m-p/2288644#M62112</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-12T09:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tReplace and wildcard?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tReplace-and-wildcard/m-p/2288645#M62113</link>
      <description>Hi Xdshi, 
&lt;BR /&gt;That works 
&lt;B&gt;BUT&lt;/B&gt; how would I add more than one if-else to the same tMap? 
&lt;BR /&gt;row1.JobTitle.contains("Sales")?"Sales":row1.JobTitle 
&lt;BR /&gt;row1.JobTitle.contains(" 
&lt;B&gt;Surgeon&lt;/B&gt;")?" 
&lt;B&gt;Physician&lt;/B&gt;":row1.JobTitle 
&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 12 Jul 2016 16:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tReplace-and-wildcard/m-p/2288645#M62113</guid>
      <dc:creator>profuse</dc:creator>
      <dc:date>2016-07-12T16:27:20Z</dc:date>
    </item>
  </channel>
</rss>

