<?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: string  comparison and wildcard question, Like and Not Like operator in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/string-comparison-and-wildcard-question-Like-and-Not-Like/m-p/484002#M1128233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are looking for the wildcard character * (any number of arbitrary characters):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( Medium Like '*events*', 'PREvents', 'Other') as channel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and &lt;STRONG&gt;not like&lt;/STRONG&gt; should be like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; if ( not Medium Like '*viral*', 'Direct', 'Other') as channel&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Dec 2013 18:50:44 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-12-13T18:50:44Z</dc:date>
    <item>
      <title>string  comparison and wildcard question, Like and Not Like operator</title>
      <link>https://community.qlik.com/t5/QlikView/string-comparison-and-wildcard-question-Like-and-Not-Like/m-p/484000#M1128231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm very new to Qlikview,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an if statement in my load script from&amp;nbsp; sql table , but am having trouble getting the wildcard string comparisons to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have, but it is not matching the '%' to 0 or more characters before or after the string 'events'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if (( Medium Like '%events%'&amp;nbsp; ), 'PREvents', 'Other') as channel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also: Is there something that is equivalent&amp;nbsp; to ' NOT LIKE'&amp;nbsp; I like to be able to have a condition based on something that does not contain a string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if (( Medium NOT Like '%viral%'&amp;nbsp; ), 'Direct', 'Other') as channel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;-Ming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 18:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/string-comparison-and-wildcard-question-Like-and-Not-Like/m-p/484000#M1128231</guid>
      <dc:creator />
      <dc:date>2013-12-13T18:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: string  comparison and wildcard question, Like and Not Like operator</title>
      <link>https://community.qlik.com/t5/QlikView/string-comparison-and-wildcard-question-Like-and-Not-Like/m-p/484001#M1128232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The answer is in the title of your question &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;...&amp;nbsp; almost&lt;/P&gt;&lt;P&gt;See function &lt;STRONG&gt;wildmatch()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 18:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/string-comparison-and-wildcard-question-Like-and-Not-Like/m-p/484001#M1128232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-13T18:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: string  comparison and wildcard question, Like and Not Like operator</title>
      <link>https://community.qlik.com/t5/QlikView/string-comparison-and-wildcard-question-Like-and-Not-Like/m-p/484002#M1128233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are looking for the wildcard character * (any number of arbitrary characters):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( Medium Like '*events*', 'PREvents', 'Other') as channel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and &lt;STRONG&gt;not like&lt;/STRONG&gt; should be like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; if ( not Medium Like '*viral*', 'Direct', 'Other') as channel&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 18:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/string-comparison-and-wildcard-question-Like-and-Not-Like/m-p/484002#M1128233</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-12-13T18:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: string  comparison and wildcard question, Like and Not Like operator</title>
      <link>https://community.qlik.com/t5/QlikView/string-comparison-and-wildcard-question-Like-and-Not-Like/m-p/484003#M1128234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked perfectly.&lt;/P&gt;&lt;P&gt;Thanks for the speedy reply.&lt;/P&gt;&lt;P&gt;-Ming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 20:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/string-comparison-and-wildcard-question-Like-and-Not-Like/m-p/484003#M1128234</guid>
      <dc:creator />
      <dc:date>2013-12-13T20:43:04Z</dc:date>
    </item>
  </channel>
</rss>

