<?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 Cleaning unstructured data in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164870#M37412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have discovered that the text I want is always after the 21st "\". So, I will use the "\" as a delimiter as such, and get the text between the 21st and 22nd "\".&lt;/P&gt;&lt;P&gt;Are there any suggestions for the code I could use?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Aug 2010 18:48:39 GMT</pubDate>
    <dc:creator>pduplessis</dc:creator>
    <dc:date>2010-08-17T18:48:39Z</dc:date>
    <item>
      <title>Cleaning unstructured data in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164869#M37411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am building a QV app on a CRM database that contains some notes fields. However the data in the notes field comes into QV with some "fomatting" that makes the notes illegible in QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example: &lt;B&gt;"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}}\viewkind4\uc1\pard\f0\fs17 This message is a test message in the history detail.\par}"&lt;/B&gt;&lt;/P&gt;&lt;P&gt;What I only need is: &lt;B&gt;This message is a test message in the history detail.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas of what string functions I could use to clean this data. I know, there probably isn't a silver bullet to solve this.&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 16:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164869#M37411</guid>
      <dc:creator>pduplessis</dc:creator>
      <dc:date>2010-08-17T16:24:30Z</dc:date>
    </item>
    <item>
      <title>Cleaning unstructured data in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164870#M37412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have discovered that the text I want is always after the 21st "\". So, I will use the "\" as a delimiter as such, and get the text between the 21st and 22nd "\".&lt;/P&gt;&lt;P&gt;Are there any suggestions for the code I could use?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 18:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164870#M37412</guid>
      <dc:creator>pduplessis</dc:creator>
      <dc:date>2010-08-17T18:48:39Z</dc:date>
    </item>
    <item>
      <title>Cleaning unstructured data in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164871#M37413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;subfield(MyInputField,'\',22) as MyOutputField&lt;/P&gt;&lt;P&gt;Edit: Looks like you also want to exclude fs17, even though it's between the 21st and 22nd '\'. Maybe this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;subfield(subfield(MyInputField,'\',22),' ',2) as MyOutputField&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 20:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164871#M37413</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-17T20:15:58Z</dc:date>
    </item>
    <item>
      <title>Cleaning unstructured data in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164872#M37414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;So far I have made some progress with &lt;B&gt;TextBetween( fieldname, '\', '\',21)&lt;/B&gt; followed by &lt;B&gt;Purgechar( fieldname, 'fs22')&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;but I'll try your suggestion too.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 20:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164872#M37414</guid>
      <dc:creator>pduplessis</dc:creator>
      <dc:date>2010-08-17T20:46:07Z</dc:date>
    </item>
    <item>
      <title>Cleaning unstructured data in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164873#M37415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't want to use purgechar(). It will remove all of the characters in the list, not just 'Fs22' itself. So the comment "I Caught 2 Fish Today" would turn into "I Caught ih Today".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 20:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164873#M37415</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-17T20:55:53Z</dc:date>
    </item>
    <item>
      <title>Cleaning unstructured data in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164874#M37416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wow, thanks for catching that. I got busy on something else, and haven't checked back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 21:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-unstructured-data-in-load-script/m-p/164874#M37416</guid>
      <dc:creator>pduplessis</dc:creator>
      <dc:date>2010-08-17T21:29:46Z</dc:date>
    </item>
  </channel>
</rss>

