<?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: Searching for a specific string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643460#M678606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use like below. Please find the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(SubStringCount(FIELD1,CODE)&amp;gt;0,'PRESENT','ABSENT') as CODEFLAG&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T119445.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59402_T119445.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 13:53:02 GMT</pubDate>
    <dc:creator>sudeepkm</dc:creator>
    <dc:date>2014-05-22T13:53:02Z</dc:date>
    <item>
      <title>Searching for a specific string</title>
      <link>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643456#M678602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding searching for a specific string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say I have data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 198px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="105"&gt;KEY&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="93"&gt;CODE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;ABC&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;AB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;DEF&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;DE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;XYZ&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XY&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="116" style="width: 184px; height: 105px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="105"&gt;KEY&lt;/TD&gt;&lt;TD width="93"&gt;FIELD1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;ABC&lt;/TD&gt;&lt;TD&gt;G-H-G-H-G-A-B-AB-ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;DEF&lt;/TD&gt;&lt;TD&gt;AB-AB-DE-EF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;XYZ&lt;/TD&gt;&lt;TD&gt;ABC-XY-QYZ&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Key ABC, I have to find the CODE (AB) in FIELD1 (G-H-G-H-G-A-B-AB-ABC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643456#M678602</guid>
      <dc:creator />
      <dc:date>2014-05-22T13:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for a specific string</title>
      <link>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643457#M678603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FindOneOf(text , characterset [ , n])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in your example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FindOneOf('AB', FIELD1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if zero is returned it cannot find it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643457#M678603</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2014-05-22T13:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for a specific string</title>
      <link>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643458#M678604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TMP:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Load * resident Table1;&lt;/P&gt;&lt;P&gt;join&lt;/P&gt;&lt;P&gt;Load * resident Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE:&lt;/P&gt;&lt;P&gt;LOAD *, If(WildMatch(CODE, FIELD1) &amp;gt; 0, 'OK', 'NO') as is_in_field Resident TMP;&lt;/P&gt;&lt;P&gt;DROP Table TMP;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643458#M678604</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-22T13:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for a specific string</title>
      <link>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643459#M678605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And how should your result look like? You need to show starting position of this CODE in FIELD1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643459#M678605</guid>
      <dc:creator />
      <dc:date>2014-05-22T13:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for a specific string</title>
      <link>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643460#M678606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use like below. Please find the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(SubStringCount(FIELD1,CODE)&amp;gt;0,'PRESENT','ABSENT') as CODEFLAG&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T119445.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59402_T119445.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643460#M678606</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-05-22T13:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for a specific string</title>
      <link>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643461#M678607</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;thanks this is what I'm looking for. My other question is, what if field1 contains ACB instead of ABC, how can I fix it in alphabetical order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 14:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Searching-for-a-specific-string/m-p/643461#M678607</guid>
      <dc:creator />
      <dc:date>2014-05-22T14:10:47Z</dc:date>
    </item>
  </channel>
</rss>

