<?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: Cleaning up a data string with &amp;lt; &amp;gt; delimeters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cleaning-up-a-data-string-with-lt-gt-delimeters/m-p/626699#M476616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following expression does what you want to do for the sample string:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Replace('&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Project Leader:&amp;lt;br /&amp;gt; Legacy&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Lead Artist:&amp;lt;br /&amp;gt;','&amp;lt;br /&amp;gt;','') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;For other tags, you may try a combination of TextBetween() and Replace() functions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 May 2014 12:52:23 GMT</pubDate>
    <dc:creator>nagaiank</dc:creator>
    <dc:date>2014-05-24T12:52:23Z</dc:date>
    <item>
      <title>Cleaning up a data string with &lt; &gt; delimeters</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-a-data-string-with-lt-gt-delimeters/m-p/626698#M476615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to clean up data I'm getting from a forum db. The problem I'm having is that the body of the conversations include formatting tags. So in order to just leave the text parts I need to remove the tags. Fortunately all of the markup used is contained within &amp;lt; and &amp;gt;. How do I go about saying:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clean(Field, Delete text from '&amp;lt;' to '&amp;gt;') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. the follow is what I currently have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"anyone who has access to this forum should be on this list&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Project Leader:&amp;lt;br /&amp;gt; Legacy&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Lead Artist:&amp;lt;br /&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I want to just reduce it to "anyone who has access to this forum should be on this list Project leader: Lead Artist:"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UNLESS - there is a way to get Qlikview to actually use these tags and format these messages properly! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 12:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-a-data-string-with-lt-gt-delimeters/m-p/626698#M476615</guid>
      <dc:creator />
      <dc:date>2014-05-24T12:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up a data string with &lt; &gt; delimeters</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-a-data-string-with-lt-gt-delimeters/m-p/626699#M476616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following expression does what you want to do for the sample string:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Replace('&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Project Leader:&amp;lt;br /&amp;gt; Legacy&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Lead Artist:&amp;lt;br /&amp;gt;','&amp;lt;br /&amp;gt;','') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;For other tags, you may try a combination of TextBetween() and Replace() functions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 12:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-a-data-string-with-lt-gt-delimeters/m-p/626699#M476616</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2014-05-24T12:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up a data string with &lt; &gt; delimeters</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-a-data-string-with-lt-gt-delimeters/m-p/626700#M476617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to display the text in Stefan Walther's HTML2 extension.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikblog.at/1579/qliktip-39-displaying-html-content-minimalistic-htmltextbox-object-extension/" title="http://www.qlikblog.at/1579/qliktip-39-displaying-html-content-minimalistic-htmltextbox-object-extension/"&gt;QlikTip #39: Displaying Html content within QlikView (Minimalistic HtmlTextBox Object Extension)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't want to use an extension, you can translate the tags as &lt;A href="https://community.qlik.com/qlik-users/38270"&gt;NagaianK&lt;/A&gt; suggested, but I would use MapSubstring for flexibility;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;TagMap:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;MAPPING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD from, Evaluate(to) INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;from, to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;br /&amp;gt;, chr(10)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;p/&amp;gt;, chr(10)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raw:&lt;/P&gt;&lt;P&gt;LOAD MapSubString('TagMap',Raw) as TranslatedText&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2014 02:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-a-data-string-with-lt-gt-delimeters/m-p/626700#M476617</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-05-25T02:37:23Z</dc:date>
    </item>
  </channel>
</rss>

