<?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: Finding a string as a substring of another in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-a-string-as-a-substring-of-another/m-p/1666532#M456014</link>
    <description>&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;index&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;(&lt;/SPAN&gt;Part_Number&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;Market_Part_Number&lt;SPAN class="s2"&gt;) = 0 &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; BadFlag&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2020 02:04:22 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2020-01-17T02:04:22Z</dc:date>
    <item>
      <title>Finding a string as a substring of another</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-string-as-a-substring-of-another/m-p/1666478#M456012</link>
      <description>&lt;P&gt;Hi, I have a data set like&lt;/P&gt;&lt;P&gt;Part_Number&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Market_Part_Number&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ABC&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; AB&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BCDE&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; BCD&lt;/P&gt;&lt;P&gt;I want to make sure that Market Part Number is always substring of Part_Number, If not I have to flag it out as bad data.&lt;/P&gt;&lt;P&gt;Can someone please help me how to do it in Qlik Script side or Expression?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 21:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-string-as-a-substring-of-another/m-p/1666478#M456012</guid>
      <dc:creator>BaNANA</dc:creator>
      <dc:date>2020-01-16T21:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a string as a substring of another</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-string-as-a-substring-of-another/m-p/1666492#M456013</link>
      <description>&lt;P&gt;something like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Map_part:
mapping LOAD *,'_Good_' as Flag Inline [
market_part
AB
BCD
FG ];

Data:
LOAD *,
if(not wildmatch(MapSubString('Map_part',part),'*_Good_*'),'Bad Part') as MapPartFlag
 Inline [
part,market_part
ABC,AB
BCDE,BCD
ACD,FG ];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 479px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27020i508CAB4B4D47B639/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 21:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-string-as-a-substring-of-another/m-p/1666492#M456013</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-16T21:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a string as a substring of another</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-string-as-a-substring-of-another/m-p/1666532#M456014</link>
      <description>&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;index&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;(&lt;/SPAN&gt;Part_Number&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;Market_Part_Number&lt;SPAN class="s2"&gt;) = 0 &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; BadFlag&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 02:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-string-as-a-substring-of-another/m-p/1666532#M456014</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2020-01-17T02:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a string as a substring of another</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-string-as-a-substring-of-another/m-p/1666875#M456015</link>
      <description>&lt;P&gt;This worked! Thank you for the quick answers!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 17:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-string-as-a-substring-of-another/m-p/1666875#M456015</guid>
      <dc:creator>BaNANA</dc:creator>
      <dc:date>2020-01-17T17:28:08Z</dc:date>
    </item>
  </channel>
</rss>

