<?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 Help required in replacing the text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-required-in-replacing-the-text/m-p/796822#M281507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the highlighted condition which will give the data from the sentence NUMBER OF INFECTIONS. But If there is a sentence as NUMBER OF INFECTIONS in the column DESCRIPTION then the malware name has to be &lt;STRONG&gt;Multiple Malware Name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt;"&gt;If(Index(Description,'infections'),TextBetween(Description &amp;amp; '#','Number of infections:','#')&lt;/STRONG&gt;,&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If(Index(Description,'Malware name:'),TextBetween(Description &amp;amp; '#','Malware name:','#'),TextBetween(Description &amp;amp; '#','Malware Name:','#'))) As [Malware Name],&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2015 09:32:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-26T09:32:36Z</dc:date>
    <item>
      <title>Help required in replacing the text</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-replacing-the-text/m-p/796822#M281507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the highlighted condition which will give the data from the sentence NUMBER OF INFECTIONS. But If there is a sentence as NUMBER OF INFECTIONS in the column DESCRIPTION then the malware name has to be &lt;STRONG&gt;Multiple Malware Name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt;"&gt;If(Index(Description,'infections'),TextBetween(Description &amp;amp; '#','Number of infections:','#')&lt;/STRONG&gt;,&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If(Index(Description,'Malware name:'),TextBetween(Description &amp;amp; '#','Malware name:','#'),TextBetween(Description &amp;amp; '#','Malware Name:','#'))) As [Malware Name],&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 09:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-replacing-the-text/m-p/796822#M281507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-26T09:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in replacing the text</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-replacing-the-text/m-p/796823#M281508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So if you have infections in Description field, you want to assign constant string "&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Multiple Malware Name&lt;/STRONG&gt;" to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;[Malware Name]??&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 09:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-replacing-the-text/m-p/796823#M281508</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-26T09:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in replacing the text</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-replacing-the-text/m-p/796824#M281509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying.. Actually this script is made by you. Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual script given by you is If(Index(Description,'Malware name:'),TextBetween(Description &amp;amp; '#','Malware name:','#'),TextBetween(Description &amp;amp; '#','Malware Name:','#')) As [Malware Name]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some cases I dont have Malware name or Malware Name. Instead I am having 'Number of infections: 2'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I made a script like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Index(Description,'infections'),TextBetween(Description &amp;amp; '#','Number of infections:','#'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Index(Description,'Malware name:'),TextBetween(Description &amp;amp; '#','Malware name:','#'),TextBetween(Description &amp;amp; '#','Malware Name:','#'))) As [Malware Name]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a result I am getting &lt;STRONG&gt;2&lt;/STRONG&gt; in the &lt;STRONG&gt;Malware Name&lt;/STRONG&gt; column which is actually &lt;STRONG&gt;correct&lt;/STRONG&gt;. But instead of 2 I want that to be &lt;STRONG&gt;'Multiple Virus'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 09:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-replacing-the-text/m-p/796824#M281509</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-26T09:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in replacing the text</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-replacing-the-text/m-p/796825#M281510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of TextBetween(), then hardcode the value.&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Index(Description,'infections'),&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;'Multiple Virus'&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Index(Description,'Malware name:'),TextBetween(Description &amp;amp; '#','Malware name:','#'),TextBetween(Description &amp;amp; '#','Malware Name:','#'))) As [Malware Name]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 09:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-replacing-the-text/m-p/796825#M281510</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-26T09:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in replacing the text</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-replacing-the-text/m-p/796826#M281511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No words to express. That simple?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working perfectly... Thanks a ton..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 10:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-replacing-the-text/m-p/796826#M281511</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-26T10:14:17Z</dc:date>
    </item>
  </channel>
</rss>

