<?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: Removing multiple occurances of a substring in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252675#M871237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And the qvw attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2016 13:11:44 GMT</pubDate>
    <dc:creator>stigchel</dc:creator>
    <dc:date>2016-11-15T13:11:44Z</dc:date>
    <item>
      <title>Removing multiple occurances of a substring</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252668#M871230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario where I am getting multiple substring inside a string , I need to reduce the multiple occurrence to 1st occurance .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;'this test is a test string test '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;'this test is a string'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using substringcount function but don't know how to move forward .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shantanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252668#M871230</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Removing multiple occurances of a substring</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252669#M871231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why you want to do this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like what is the objective behind this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 11:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252669#M871231</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-11-15T11:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Removing multiple occurances of a substring</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252670#M871232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide more values which you have. I am expecting real data. So that, we will figure out. The reason i am asking this? Suppose, Sometimes we do have different size of values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 11:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252670#M871232</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-15T11:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Removing multiple occurances of a substring</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252671#M871233</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 am concatenating 4-5 field values to form this string , 'test' coming multiple times does not make any sense . So need to reduce the final string to the first occurrence of the string 'test'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shantanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 11:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252671#M871233</guid>
      <dc:creator />
      <dc:date>2016-11-15T11:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Removing multiple occurances of a substring</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252672#M871234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We can do different different ways. In fact, We will help you by using your key words as i recommend in the before Reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;Replace(SubField(GetFieldSelections(Output),1),',','')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;[Script]&lt;/SPAN&gt;:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Welcome, SubField(Welcome,' ') as Output Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Welcome&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'this test is a test string test '&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143902_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 11:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252672#M871234</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-15T11:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Removing multiple occurances of a substring</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252673#M871235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anil ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply , can you please break it down and explain the thought process behind your solution .&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;Shantanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 11:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252673#M871235</guid>
      <dc:creator />
      <dc:date>2016-11-15T11:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Removing multiple occurances of a substring</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252674#M871236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where you are concatenating, can you concatenate distinctly? See this example for New:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load * ,Rowno() as Row Inline [Text&lt;/P&gt;&lt;P&gt;'this test is a test string test'&lt;/P&gt;&lt;P&gt;'yet another test string test'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;Load *,AutoNumber(Word,Row) as Id;&lt;/P&gt;&lt;P&gt;Load Row,SubField(Text,' ') as Word resident Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New:&lt;/P&gt;&lt;P&gt;Load Concat(DISTINCT Word,' ',Id) as NewText Resident Tmp Group by Row;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 13:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252674#M871236</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2016-11-15T13:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Removing multiple occurances of a substring</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252675#M871237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And the qvw attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 13:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-multiple-occurances-of-a-substring/m-p/1252675#M871237</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2016-11-15T13:11:44Z</dc:date>
    </item>
  </channel>
</rss>

