<?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 Case sensitive string comparison in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/62849#M22845</link>
    <description>&lt;P&gt;I am comparing two string fields in a Filter tool and getting unexpected results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use the Filter tool to compare two strings with values of "Extendicare Fort MacLeod" and "Extendicare Fort Macleod" (note the lowercase "L" in the second), the tool returns these as being equal. i.e.&amp;nbsp;[FAC_NAME]==[FAC_NAME_BAD] returns true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I do a string comparison that is Case Sensitive?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideas: &lt;A href="https://community.alteryx.com/t5/Alteryx-Product-Ideas/Inconsistency-about-case-sensitivity-across-tools/idi-p/28156" target="_blank"&gt;https://community.alteryx.com/t5/Alteryx-Product-Ideas/Inconsistency-about-case-sensitivity-across-tools/idi-p/28156&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 May 2018 03:48:37 GMT</pubDate>
    <dc:creator>jason_scarlett</dc:creator>
    <dc:date>2018-05-24T03:48:37Z</dc:date>
    <item>
      <title>Case sensitive string comparison</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/62849#M22845</link>
      <description>&lt;P&gt;I am comparing two string fields in a Filter tool and getting unexpected results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use the Filter tool to compare two strings with values of "Extendicare Fort MacLeod" and "Extendicare Fort Macleod" (note the lowercase "L" in the second), the tool returns these as being equal. i.e.&amp;nbsp;[FAC_NAME]==[FAC_NAME_BAD] returns true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I do a string comparison that is Case Sensitive?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideas: &lt;A href="https://community.alteryx.com/t5/Alteryx-Product-Ideas/Inconsistency-about-case-sensitivity-across-tools/idi-p/28156" target="_blank"&gt;https://community.alteryx.com/t5/Alteryx-Product-Ideas/Inconsistency-about-case-sensitivity-across-tools/idi-p/28156&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 03:48:37 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/62849#M22845</guid>
      <dc:creator>jason_scarlett</dc:creator>
      <dc:date>2018-05-24T03:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive string comparison</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/62852#M22846</link>
      <description>&lt;P&gt;Wow&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/2853"&gt;@jason_scarlett&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was unaware of that feature. &amp;nbsp;Here's a sure-fire way to compare:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;MD5_ASCII([FAC_NAME])==MD5_ASCII([FAC_NAME_BAD])&lt;/PRE&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 16:03:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/62852#M22846</guid>
      <dc:creator>MarqueeCrew</dc:creator>
      <dc:date>2017-06-01T16:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive string comparison</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/62857#M22847</link>
      <description>&lt;P&gt;Perfect, works now.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 16:13:53 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/62857#M22847</guid>
      <dc:creator>jason_scarlett</dc:creator>
      <dc:date>2017-06-01T16:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive string comparison</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/62864#M22848</link>
      <description>&lt;P&gt;One more way to skin the cat, because RegEx is almost always a solution too...&amp;nbsp;:)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REGEX_Match([Field1],[Field2],0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 0 after the two fields you're comparing indicates that it needs to be Case Sensitive. Leaving that clause out (or having it equal to 1) lets the match become Case Insensitive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;NJ&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 16:26:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/62864#M22848</guid>
      <dc:creator>NicoleJohnson</dc:creator>
      <dc:date>2017-06-01T16:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive string comparison</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/62869#M22849</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/2853"&gt;@jason_scarlett&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please mark&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/3824"&gt;@NicoleJohnson&lt;/a&gt;&amp;nbsp;as a solution for this post. &amp;nbsp;Her solution is FASTER than mine. &amp;nbsp;I tested hers with 1,000,000 records and RegEx completes the comparison filter in less than 1 second. &amp;nbsp;The conversion to the MD5 hash and evaluation takes roughly 8 seconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 16:35:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/62869#M22849</guid>
      <dc:creator>MarqueeCrew</dc:creator>
      <dc:date>2017-06-01T16:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive string comparison</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/86535#M22850</link>
      <description>&lt;P&gt;I don't think this will work in the more general case. As regex special characters will cause problems for example '(',')' Since they won't be escaped in a standard string. I think the ASCll Solution is more robust.&lt;/P&gt;&lt;P&gt;Please correct me if i am wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 15:55:45 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/86535#M22850</guid>
      <dc:creator>Di2g10</dc:creator>
      <dc:date>2017-10-18T15:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive string comparison</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/310301#M55746</link>
      <description>&lt;P&gt;@nicolejohnson Life changing! Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 19:04:14 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/310301#M55746</guid>
      <dc:creator>ejthoms</dc:creator>
      <dc:date>2018-10-10T19:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive string comparison</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/597187#M133055</link>
      <description>&lt;P&gt;I feel like I learned a lot from this one.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 20:16:29 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/597187#M133055</guid>
      <dc:creator>etechman</dc:creator>
      <dc:date>2020-07-01T20:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive string comparison</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/616839#M139027</link>
      <description>&lt;P&gt;&lt;SPAN&gt;@Di2g10 is right.. regex cannot handle special characters... I would suggest Contains as it has switch for case sensitivity too...&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Contains([b], [a],0) AND Length([a]) == Length([b])&lt;BR /&gt;&lt;BR /&gt;or&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Contains([b], [a],0) AND&amp;nbsp;Contains([a], [b],0)&lt;/P&gt;&lt;P&gt;//to make it more obvious..&lt;BR /&gt;&lt;BR /&gt;btw. MD5 hash cannot guarantee to have 2 different hashes for every 2 inputs, so it can fail and it is terribly unpredictable (not to mention slow).&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 15:45:45 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/616839#M139027</guid>
      <dc:creator>PaA</dc:creator>
      <dc:date>2020-08-10T15:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Case sensitive string comparison</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/616850#M139033</link>
      <description>&lt;P&gt;I agree this is a better solution to the others proposed (outside of Alteryx fixing what is feel is a bug)&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 15:59:27 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Case-sensitive-string-comparison/m-p/616850#M139033</guid>
      <dc:creator>Di2g10</dc:creator>
      <dc:date>2020-08-10T15:59:27Z</dc:date>
    </item>
  </channel>
</rss>

