<?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 Escaping characters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182351#M48040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use purgechar function to remove them&lt;/P&gt;&lt;P&gt;purgechar('$File', chr(39))&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Nov 2010 12:12:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-11T12:12:43Z</dc:date>
    <item>
      <title>Escaping characters</title>
      <link>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182350#M48039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to read all the .txt file from a folders (sub dir included) and i use the following script&lt;/P&gt;&lt;P&gt;sub DoDir (Root)&lt;BR /&gt; for each File in filelist (Root&amp;amp;'\*.' &amp;amp;'TXT')&lt;BR /&gt; lista_fisiere:&lt;BR /&gt; Load&lt;BR /&gt; '$(File)' as path&lt;BR /&gt; autogenerate 1;&lt;BR /&gt;&lt;BR /&gt; next File&lt;BR /&gt;for each Dir in dirlist (Root&amp;amp;'\*' )&lt;BR /&gt; call DoDir (Dir)&lt;BR /&gt;next Dir&lt;BR /&gt;&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DoDir(Path);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script works fine till encounters one folder or txt files which contains quote character ( ' ) in the name.&lt;/P&gt;&lt;P&gt;Anyone know a workaround?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 11:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182350#M48039</guid>
      <dc:creator />
      <dc:date>2010-11-11T11:20:15Z</dc:date>
    </item>
    <item>
      <title>Escaping characters</title>
      <link>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182351#M48040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use purgechar function to remove them&lt;/P&gt;&lt;P&gt;purgechar('$File', chr(39))&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 12:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182351#M48040</guid>
      <dc:creator />
      <dc:date>2010-11-11T12:12:43Z</dc:date>
    </item>
    <item>
      <title>Escaping characters</title>
      <link>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182352#M48041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cant use PurgeChar because based on the name of the file i need to load that folder or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 12:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182352#M48041</guid>
      <dc:creator />
      <dc:date>2010-11-11T12:27:42Z</dc:date>
    </item>
    <item>
      <title>Escaping characters</title>
      <link>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182353#M48042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have a batch file that renames the files prior to reload?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 13:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182353#M48042</guid>
      <dc:creator />
      <dc:date>2010-11-11T13:01:24Z</dc:date>
    </item>
    <item>
      <title>Escaping characters</title>
      <link>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182354#M48043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not a possible solution because those file are used by other application also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 13:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182354#M48043</guid>
      <dc:creator />
      <dc:date>2010-11-11T13:18:44Z</dc:date>
    </item>
    <item>
      <title>Escaping characters</title>
      <link>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182355#M48044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use nested FOR loops . The quote will get escaped == will appear twice in the loaded field. Works in QV9 64 bits, and QV10 32 bits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;for each Dir in dirlist (Root&amp;amp;'\*' )&lt;BR /&gt; for each File in filelist (Dir &amp;amp;'\*.' &amp;amp;'TXT')&lt;BR /&gt; lista_fisiere:&lt;BR /&gt; Load&lt;BR /&gt; '$(File)' as path&lt;BR /&gt; autogenerate 1;&lt;BR /&gt;&lt;BR /&gt; txt:&lt;BR /&gt; LOAD @1 as txt&lt;BR /&gt; FROM [$(File)] (txt, codepage is 1252, no labels, delimiter is '\t', msq);&lt;BR /&gt;&lt;BR /&gt; next&lt;BR /&gt;next&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;-Alex&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 14:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Escaping-characters/m-p/182355#M48044</guid>
      <dc:creator />
      <dc:date>2010-11-15T14:26:03Z</dc:date>
    </item>
  </channel>
</rss>

