<?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: Match string values with single quote characters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910956#M316277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for all the quick responses - Wildmatch fixes the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference, the data I was trying to match in the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Cancellation Reason] field i&lt;/SPAN&gt;s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No Show&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (no special characters)&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;Rescheduled – Client didn't show up&amp;nbsp;&amp;nbsp; (apostrophe = chr(39))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Cancelled - Client didn't show up&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (apostrophe = chr(8217))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2015 07:21:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-05T07:21:49Z</dc:date>
    <item>
      <title>Match string values with single quote characters</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910950#M316271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to set a flag in my script where a field equals 1 of 3 specific strings. 2 of those strings have an apostrophe in them, and I cannot change them. (in fact 1 string uses chr(39) and the other uses chr(8217) &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I used a combination of Match and Purge to deal with the apostrophe characters and test if the field matches. This works for the 2 fields with the apostrophes, nut not for the 'No show' option. What am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match(PurgeChar(PurgeChar([Cancellation Reason],chr(39)),chr(8217)),'No Show','Rescheduled – Client didnt show up','Cancelled - Client didnt show up')&amp;gt;0,1) as fCancelReasonNoShow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is there a simpler way to achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 07:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910950#M316271</guid>
      <dc:creator />
      <dc:date>2015-08-05T07:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Match string values with single quote characters</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910951#M316272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Have you tried WildMatch!! Can you post here&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Cancellation Reason] field values (sample)?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 07:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910951#M316272</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-08-05T07:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Match string values with single quote characters</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910952#M316273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd guess you have to get rid of the blank space. It might be a possibility to REPLACE() this with an underscore so that you have the text all_in_one_piece? Otherwise, QlikView_functions might not work correctly because the second part of a string (after a blank space) is interpreted as a new parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 07:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910952#M316273</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-08-05T07:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Match string values with single quote characters</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910953#M316274</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;=match(trim(KeepChar(lower(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Cancellation Reason]&lt;/SPAN&gt;), 'no shw')), 'no show')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to test&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=match(trim(KeepChar(lower('No ' &amp;amp; chr(39) &amp;amp; chr(8217) &amp;amp; 'Show'), 'no shw')), 'no show')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 07:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910953#M316274</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-05T07:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Match string values with single quote characters</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910954#M316275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you to load PurgeChar(PurgeChar([Cancellation Reason],chr(39)),chr(8217)) as a seperate field in the table to see if how your resultant string would look like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post some sample data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 07:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910954#M316275</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-05T07:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Match string values with single quote characters</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910955#M316276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Derek,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first correct answer in this community. &lt;IMG alt="michael-jackson.gif" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95018_michael-jackson.gif" style="height: auto;" /&gt; &lt;IMG alt="happy-day-smiley-emoticon.gif" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/95019_happy-day-smiley-emoticon.gif" style="height: auto;" /&gt; to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 07:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910955#M316276</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-08-05T07:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Match string values with single quote characters</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910956#M316277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for all the quick responses - Wildmatch fixes the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference, the data I was trying to match in the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Cancellation Reason] field i&lt;/SPAN&gt;s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No Show&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (no special characters)&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;Rescheduled – Client didn't show up&amp;nbsp;&amp;nbsp; (apostrophe = chr(39))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Cancelled - Client didn't show up&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (apostrophe = chr(8217))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 07:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-values-with-single-quote-characters/m-p/910956#M316277</guid>
      <dc:creator />
      <dc:date>2015-08-05T07:21:49Z</dc:date>
    </item>
  </channel>
</rss>

