<?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 chr(32) + chr(160) as spaces in string. How to eliminate in one step? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/chr-32-chr-160-as-spaces-in-string-How-to-eliminate-in-one-step/m-p/194562#M55410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Depending on what your field has, one solution is using the following in your load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;KeepChar(Field, 'ABCDEFGHIJKLMNOPQRSTUVXYZ&amp;gt;&amp;lt;') AS Field&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;or the opposite&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;PurgeChar(Field, chr(32) &amp;amp; chr(160)) AS Field&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Nov 2010 13:42:39 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2010-11-19T13:42:39Z</dc:date>
    <item>
      <title>chr(32) + chr(160) as spaces in string. How to eliminate in one step?</title>
      <link>https://community.qlik.com/t5/QlikView/chr-32-chr-160-as-spaces-in-string-How-to-eliminate-in-one-step/m-p/194560#M55408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QVer&lt;BR /&gt;I want to compare two strings if there are differences between 2010 and 2011.&lt;BR /&gt;Superficially seen there is no diff. but when matching them with i.e. match function the result is 0.&lt;BR /&gt;The reason I found is that there are two spaces [chr(32) + chr(160)] responsible for the diff.&lt;BR /&gt;Example:&lt;BR /&gt;2010: "ABC &amp;gt; DE F" = "ABC &amp;gt; DEF" [after removing chr(32) with replace function]&lt;BR /&gt;2011: "ABC &amp;gt; DE F" = "ABC&amp;gt;DE F" [after removing chr(160) with replace function]&lt;BR /&gt;My goal is "ABC&amp;gt;DEF"&lt;/P&gt;&lt;P&gt;Now I want to standardise them in making strings without spaces.&lt;BR /&gt;The only way to do I found the function replace in two steps.&lt;/P&gt;&lt;P&gt;Does anybody have an idea to solve that in one step?&lt;BR /&gt;Thanks and greetings&lt;BR /&gt;dj_skbs [QV 90074408SR3]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 13:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chr-32-chr-160-as-spaces-in-string-How-to-eliminate-in-one-step/m-p/194560#M55408</guid>
      <dc:creator />
      <dc:date>2010-11-19T13:22:13Z</dc:date>
    </item>
    <item>
      <title>chr(32) + chr(160) as spaces in string. How to eliminate in one step?</title>
      <link>https://community.qlik.com/t5/QlikView/chr-32-chr-160-as-spaces-in-string-How-to-eliminate-in-one-step/m-p/194561#M55409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;Look this in help: PurgeChar( s1 , s2 )&lt;/H4&gt;&lt;P&gt;Returns the string s1 less all characters contained in string s2.&lt;/P&gt;&lt;P&gt;-Alex&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 13:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chr-32-chr-160-as-spaces-in-string-How-to-eliminate-in-one-step/m-p/194561#M55409</guid>
      <dc:creator />
      <dc:date>2010-11-19T13:38:53Z</dc:date>
    </item>
    <item>
      <title>chr(32) + chr(160) as spaces in string. How to eliminate in one step?</title>
      <link>https://community.qlik.com/t5/QlikView/chr-32-chr-160-as-spaces-in-string-How-to-eliminate-in-one-step/m-p/194562#M55410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Depending on what your field has, one solution is using the following in your load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;KeepChar(Field, 'ABCDEFGHIJKLMNOPQRSTUVXYZ&amp;gt;&amp;lt;') AS Field&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;or the opposite&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;PurgeChar(Field, chr(32) &amp;amp; chr(160)) AS Field&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 13:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chr-32-chr-160-as-spaces-in-string-How-to-eliminate-in-one-step/m-p/194562#M55410</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-19T13:42:39Z</dc:date>
    </item>
    <item>
      <title>chr(32) + chr(160) as spaces in string. How to eliminate in one step?</title>
      <link>https://community.qlik.com/t5/QlikView/chr-32-chr-160-as-spaces-in-string-How-to-eliminate-in-one-step/m-p/194563#M55411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved with&lt;/P&gt;&lt;P&gt;PurgeChar(Field, chr(32) &amp;amp; chr(160)).&lt;/P&gt;&lt;P&gt;I tried everything also with Purgechar but not with the "&amp;amp;" combination.&lt;/P&gt;&lt;P&gt;Thank You Miguel + Alexandru&lt;/P&gt;&lt;P&gt;dj_skbs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 14:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chr-32-chr-160-as-spaces-in-string-How-to-eliminate-in-one-step/m-p/194563#M55411</guid>
      <dc:creator />
      <dc:date>2010-11-19T14:05:00Z</dc:date>
    </item>
  </channel>
</rss>

