<?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 multiple char in String in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1568681#M441908</link>
    <description>&lt;P&gt;I think it might be solvable with mapsubstring by using multiple statements for your adjustments. This means something like to replace 'SARL' at first with an unique char like chr(1) and then checking to chr(1) &amp;amp; 'POK' and replacing it with 'SARLPOK' again and afterwards the chr(1) will be also replaced.&lt;/P&gt;&lt;P&gt;I'm not sure if it could be done within a single mapsubstring - in this case the order of the statements would be important - but with multiple mapsubstrings maybe applied with a chain of preceeding loads it should be possible.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2019 09:28:35 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2019-04-12T09:28:35Z</dc:date>
    <item>
      <title>Replace multiple char in String</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1568635#M441901</link>
      <description>&lt;P&gt;Hello Community&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have the table bellow and i want to remove those words&amp;nbsp; 'STE' 'SARL' 'SA'&amp;nbsp; existing in the Start and end of field RAISON_Sociale&lt;/P&gt;&lt;P&gt;i tried&amp;nbsp;'MapSubString' but in case of the last word 'SA SARLPOK'&amp;nbsp; the result became POK and i want it to Be 'SARLPOL'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quest.PNG" style="width: 361px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10080i78E2A8EFCB8CCF62/image-size/large?v=v2&amp;amp;px=999" role="button" title="quest.PNG" alt="quest.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for the help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 08:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1568635#M441901</guid>
      <dc:creator>Ayoub</dc:creator>
      <dc:date>2019-04-12T08:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Replace multiple char in String</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1568663#M441904</link>
      <description>&lt;P&gt;Perhaps something like this:&lt;BR /&gt;If(Match(SubField([RAISON_SOCIALE],' ',1),'SA','SARL','STE'), Mid([RAISON_SOCIALE],Index([RAISON_SOCIALE],' ')+1),[RAISON_SOCIALE])&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 09:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1568663#M441904</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-04-12T09:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace multiple char in String</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1568681#M441908</link>
      <description>&lt;P&gt;I think it might be solvable with mapsubstring by using multiple statements for your adjustments. This means something like to replace 'SARL' at first with an unique char like chr(1) and then checking to chr(1) &amp;amp; 'POK' and replacing it with 'SARLPOK' again and afterwards the chr(1) will be also replaced.&lt;/P&gt;&lt;P&gt;I'm not sure if it could be done within a single mapsubstring - in this case the order of the statements would be important - but with multiple mapsubstrings maybe applied with a chain of preceeding loads it should be possible.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 09:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1568681#M441908</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-04-12T09:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replace multiple char in String</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1568693#M441910</link>
      <description>&lt;P&gt;it works&amp;nbsp; Thank you so Much&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 09:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1568693#M441910</guid>
      <dc:creator>Ayoub</dc:creator>
      <dc:date>2019-04-12T09:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Replace multiple char in String</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1568858#M441939</link>
      <description>&lt;P&gt;Hey&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18624"&gt;@Gysbert_Wassenaar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What if i want to delete the same words from the&amp;nbsp; right side cause this one works only in the left&amp;nbsp; ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank u for ur heelp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 16:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1568858#M441939</guid>
      <dc:creator>Ayoub</dc:creator>
      <dc:date>2019-04-12T16:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Replace multiple char in String</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1569281#M441978</link>
      <description>Yes, this one works just from the left. You can do it from the right with this (I hope):&lt;BR /&gt;&lt;BR /&gt;If(Match(SubField([RAISON_SOCIALE],' ',-1),'SA','SARL','STE'), Left([RAISON_SOCIALE],Index([RAISON_SOCIALE],' ',-1)+1),[RAISON_SOCIALE])</description>
      <pubDate>Mon, 15 Apr 2019 09:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-multiple-char-in-String/m-p/1569281#M441978</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-04-15T09:36:02Z</dc:date>
    </item>
  </channel>
</rss>

