<?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 function with 2 conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-function-with-2-conditions/m-p/463513#M173097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry found another way around it =&amp;nbsp; replace(replace())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Apr 2013 14:59:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-17T14:59:37Z</dc:date>
    <item>
      <title>Replace function with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-function-with-2-conditions/m-p/463512#M173096</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;I have a simple query. When using the replace function in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. replace(StoreName,'Store','') as StoreName&lt;/P&gt;&lt;P&gt;Above replaces all StoreNames with the name 'Store' with a blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if i need to replace multiple text values. eg. Store and Shop how would i go about it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried replace(StoreName,'Store','Shop','') as StoreName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; replace(StoreName,('Store','Shop'),'') as StoreName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas or solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 13:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-function-with-2-conditions/m-p/463512#M173096</guid>
      <dc:creator />
      <dc:date>2013-04-17T13:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Replace function with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-function-with-2-conditions/m-p/463513#M173097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry found another way around it =&amp;nbsp; replace(replace())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 14:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-function-with-2-conditions/m-p/463513#M173097</guid>
      <dc:creator />
      <dc:date>2013-04-17T14:59:37Z</dc:date>
    </item>
  </channel>
</rss>

