<?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 text string within another text string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573814#M213724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following expr:&lt;/P&gt;&lt;P&gt;=if(match(FieldA,subfield(FieldB,',')),1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2014 13:05:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-14T13:05:15Z</dc:date>
    <item>
      <title>finding a text string within another text string</title>
      <link>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573812#M213722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see my example below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any function i can use to find or test whether Field A is found in Field B? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 128px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;Field A&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Field B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;a&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;a,b,c&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case it would be True or 1 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Magen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 12:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573812#M213722</guid>
      <dc:creator />
      <dc:date>2014-04-14T12:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: finding a text string within another text string</title>
      <link>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573813#M213723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try wit Match()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the example below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikshare.com/292/" title="http://qlikshare.com/292/"&gt;http://qlikshare.com/292/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/483096#483096" style="font-size: 10pt; line-height: 1.5em;" title="http://community.qlik.com/message/483096#483096"&gt;http://community.qlik.com/message/483096#483096&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good Luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 12:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573813#M213723</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2014-04-14T12:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: finding a text string within another text string</title>
      <link>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573814#M213724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following expr:&lt;/P&gt;&lt;P&gt;=if(match(FieldA,subfield(FieldB,',')),1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 13:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573814#M213724</guid>
      <dc:creator />
      <dc:date>2014-04-14T13:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: finding a text string within another text string</title>
      <link>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573815#M213725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;if ( substringcount(FieldB, FieldA)&amp;gt;0, 1,-1)&lt;/P&gt;&lt;P&gt;1 if found&lt;/P&gt;&lt;P&gt;-1 if not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 13:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573815#M213725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-14T13:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: finding a text string within another text string</title>
      <link>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573816#M213726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;You can use index if &amp;gt;0 the field A is contained in field B&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;index( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Field B&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Field A&lt;/SPAN&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 13:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573816#M213726</guid>
      <dc:creator>menta</dc:creator>
      <dc:date>2014-04-14T13:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: finding a text string within another text string</title>
      <link>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573817#M213727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is good but you should probably use the delimiter to be save:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;substringcount(',' &amp;amp; FieldB &amp;amp; ',', ',' &amp;amp; FieldA &amp;amp; ',') &amp;gt; 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 13:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573817#M213727</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-04-14T13:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: finding a text string within another text string</title>
      <link>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573818#M213728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;FieldA,FieldB&lt;/P&gt;&lt;P&gt;A,A&lt;/P&gt;&lt;P&gt;B,B;C&lt;/P&gt;&lt;P&gt;C,C&lt;/P&gt;&lt;P&gt;D,E&lt;/P&gt;&lt;P&gt;F,G&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Match(FieldA,SubField(FieldB,',',1)),FieldA,'Mis Match')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 13:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/finding-a-text-string-within-another-text-string/m-p/573818#M213728</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2014-04-14T13:15:20Z</dc:date>
    </item>
  </channel>
</rss>

