<?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: Search for Characters in string - WildMatch() / Match() or other in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Search-for-Characters-in-string-WildMatch-Match-or-other/m-p/1083829#M360943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(&amp;nbsp; FindoneOf(ProgStage,'ARC')&amp;nbsp; ,'Found it, do this','Not Found - Try again!')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2016 17:32:55 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2016-01-27T17:32:55Z</dc:date>
    <item>
      <title>Search for Characters in string - WildMatch() / Match() or other</title>
      <link>https://community.qlik.com/t5/QlikView/Search-for-Characters-in-string-WildMatch-Match-or-other/m-p/1083826#M360940</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;I have a field that contains codes (relevant to the company I work for). I want to search this field to determine if it contains any character in a specified array.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would usually do in excel is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;$AS2 = "GCBZ"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt; IF(COUNT(SEARCH({"A","R","C"},$AS2,1))&amp;gt;0,"Found it, do this!","Not Found - Try again!")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This would return &lt;EM&gt;"Found it, do this!" as the cell contains "C"&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can repeat the above in QV but only by doing the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ProgStage]) = &lt;EM&gt;"GCBZ"&lt;/EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;IF(WILDMATCH(UPPER([ProgStage]),'A*','*A*',&lt;EM&gt;'*A'.&lt;/EM&gt;&lt;EM&gt;'R*','*R*',&lt;EM&gt;'*R',&lt;EM&gt;&lt;EM&gt;'C*','*C*',&lt;EM&gt;'*C'&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;)&lt;/EM&gt;&amp;gt;0,&lt;EM&gt;"Found it, do this!","Not Found - Try again!")&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Is there any way I can do the above formula without repeat three instances of each character - sometime I have to search for 15 different characters - 45 options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The letters will not always appear in the same order and may or not be at the beginning / end of the string. I've also tried using index() but obviously this is for one search string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-for-Characters-in-string-WildMatch-Match-or-other/m-p/1083826#M360940</guid>
      <dc:creator>chris1987</dc:creator>
      <dc:date>2016-01-27T17:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Characters in string - WildMatch() / Match() or other</title>
      <link>https://community.qlik.com/t5/QlikView/Search-for-Characters-in-string-WildMatch-Match-or-other/m-p/1083827#M360941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(Len(ProgStage)&amp;gt;len(PurgeChar(UPPER(ProgStage),'ARC')),'Found it, do this','Not Found - Try again!')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-for-Characters-in-string-WildMatch-Match-or-other/m-p/1083827#M360941</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-01-27T17:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Characters in string - WildMatch() / Match() or other</title>
      <link>https://community.qlik.com/t5/QlikView/Search-for-Characters-in-string-WildMatch-Match-or-other/m-p/1083828#M360942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about &lt;EM&gt;FindOneOf()&lt;/EM&gt; string function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-for-Characters-in-string-WildMatch-Match-or-other/m-p/1083828#M360942</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-27T17:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Characters in string - WildMatch() / Match() or other</title>
      <link>https://community.qlik.com/t5/QlikView/Search-for-Characters-in-string-WildMatch-Match-or-other/m-p/1083829#M360943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(&amp;nbsp; FindoneOf(ProgStage,'ARC')&amp;nbsp; ,'Found it, do this','Not Found - Try again!')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-for-Characters-in-string-WildMatch-Match-or-other/m-p/1083829#M360943</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-01-27T17:32:55Z</dc:date>
    </item>
  </channel>
</rss>

