<?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: Problem with substring function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548735#M549300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Arun, It helps me. It is working correctly.&lt;/P&gt;&lt;P&gt;But one doubt what the symbol @ does here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2014 11:31:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-22T11:31:13Z</dc:date>
    <item>
      <title>Problem with substring function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548733#M549298</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;BR /&gt;My problem is I want to compare the set of values of a field with a String.&lt;/P&gt;&lt;P&gt;I m getting problem with substring function.&lt;/P&gt;&lt;P&gt;I m using expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SubStringCount(concat(KRMO_MODULE_NAME,','),'Enrollment')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is working fine.but values of field KRMO_MODULE_NAME are:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;" width="148"&gt;Compliance&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;"&gt;Data Management&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;"&gt;Data Timeliness&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;"&gt;Enrollment&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;"&gt;Enrollment/Discontinuation&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;"&gt;Monitoring&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;"&gt;Monitoring Visits&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;"&gt;Protocol Deviations&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;"&gt;Queries&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;"&gt;Safety&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;"&gt;SDV&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0px solid black;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I m matching the&amp;nbsp; string with 'Enrollment' , so there are two values containg this part of string.&lt;/P&gt;&lt;P&gt;So it is giving incorrect result.&lt;/P&gt;&lt;P&gt;So which function should i use to compare for the exact substring.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need urgent help....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 11:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548733#M549298</guid>
      <dc:creator />
      <dc:date>2014-01-22T11:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with substring function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548734#M549299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SubStringCount(concat(KRMO_MODULE_NAME,'@'),'@Enrollment@')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 11:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548734#M549299</guid>
      <dc:creator />
      <dc:date>2014-01-22T11:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with substring function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548735#M549300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Arun, It helps me. It is working correctly.&lt;/P&gt;&lt;P&gt;But one doubt what the symbol @ does here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 11:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548735#M549300</guid>
      <dc:creator />
      <dc:date>2014-01-22T11:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with substring function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548736#M549301</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;You can use any symbol here,&lt;/P&gt;&lt;P&gt;when it used in concat function, it will make string like @Enrollment@Enrollment/Discontinuation@....etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you search for @Enrollment@, only one value will be returned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 11:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548736#M549301</guid>
      <dc:creator />
      <dc:date>2014-01-22T11:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with substring function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548737#M549302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And one more point,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SubStringCount(concat(F1,'@'),'Enrollment@')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because, if Enrollment is first value, concat will return Enrollment@Enrollment/Discontinuation@...so it will return 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it by selecting Enrollment and Enrollment/Discontinuation in list box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 11:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548737#M549302</guid>
      <dc:creator />
      <dc:date>2014-01-22T11:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with substring function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548738#M549303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Arun.. Its a great help for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 12:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-substring-function/m-p/548738#M549303</guid>
      <dc:creator />
      <dc:date>2014-01-22T12:23:06Z</dc:date>
    </item>
  </channel>
</rss>

