<?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: Replace string * in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-string-in-load-script/m-p/1014794#M938800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Left(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;ItsTestColu, 7) = 'AVI SU', 'AVI', &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;ItsTestColu) as Test2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 16:16:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-02-11T16:16:26Z</dc:date>
    <item>
      <title>Replace string * in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-string-in-load-script/m-p/1014793#M938799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in load script I want to replace one string and it doesn't work:&lt;/P&gt;&lt;P&gt;In the column ItsTestColu I have different values: AVI SU, AVI SUS, AVI SUU...&lt;/P&gt;&lt;P&gt;I want to reset this all "AVI S*" through "AVI"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD replace(ItsTestColu, 'AVI SU*', 'AVI') as Test2, &lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Why &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; text-decoration: underline;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; is not working ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I try it also with wildmatch, and it is also not working:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace(ItsTestColu, wildmatch(ItsTestColu, 'AVI SU*'), 'AVI')&lt;/P&gt;&lt;P&gt;In this load script I cannot and I don't want use somethin LEFT.. I just want to use "ALL" / " * "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 14:00:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-string-in-load-script/m-p/1014793#M938799</guid>
      <dc:creator />
      <dc:date>2016-02-11T14:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replace string * in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-string-in-load-script/m-p/1014794#M938800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Left(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;ItsTestColu, 7) = 'AVI SU', 'AVI', &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;ItsTestColu) as Test2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 16:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-string-in-load-script/m-p/1014794#M938800</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-11T16:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Replace string * in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-string-in-load-script/m-p/1014795#M938801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Andre,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; line-height: 1.5em;"&gt;You can also try,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; line-height: 1.5em;"&gt; If(WILDMATCH(ItstestColu, 'AVI SU*'),'AVI',ItsTestColu) as Test2&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 16:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-string-in-load-script/m-p/1014795#M938801</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-02-11T16:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Replace string * in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-string-in-load-script/m-p/1014796#M938802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace() is the wrong function to use here. replace() replaces individual characters, not strings. Instead use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;if(ItsTestColu LIKE&amp;nbsp; 'AVI SU*', 'AVI', &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ItsTestColu) as &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ItsTestColu&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 19:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-string-in-load-script/m-p/1014796#M938802</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-02-11T19:05:52Z</dc:date>
    </item>
  </channel>
</rss>

