<?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: how to remove duplicate words in a string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009425#M968526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;each line is an other item&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What kind of entity is item? Does it represent anything or is it just a string of characters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2015 12:46:09 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-09-23T12:46:09Z</dc:date>
    <item>
      <title>how to remove duplicate words in a string</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009421#M968522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i have strings in this format:&lt;/P&gt;&lt;P&gt;manufacturer+modell,manufacturer+modell....&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Citroen C8 , Fiat Ulysse , Lancia Phedra , Peugeot 3008 ,&amp;nbsp; Peugeot 607 , Peugeot 807&lt;/P&gt;&lt;P&gt;Porsche 911 , Porsche Boxster , Porsche Cayman&lt;/P&gt;&lt;P&gt;BMW 3 , BMW Z1 , BMW Z3, BMW Z4 , Rover 75 , Rover 200 , Saab 9-5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to remove the duplicate manufacturer like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Citroen C8 , Fiat Ulysse , Lancia Phedra , Peugeot 3008 ,&amp;nbsp; 607 , 807&lt;/P&gt;&lt;P&gt;Porsche 911 , Boxster , Cayman&lt;/P&gt;&lt;P&gt;BMW 3 , Z1 , Z3, Z4 , Rover 75 , 200 , Saab 9-5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my Problem ist ...every line has other words to delete.....sometimes more than one...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 09:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009421#M968522</guid>
      <dc:creator />
      <dc:date>2015-09-23T09:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove duplicate words in a string</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009422#M968523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you want to do it anyway? What are you going to use that data for? Isn't another data model much more useful?&lt;/P&gt;&lt;P&gt;What does each line mean? Is there a reason there are separate lines or could you concatenate all the lines into one line without losing any information?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 11:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009422#M968523</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-09-23T11:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove duplicate words in a string</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009423#M968524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's compatibility list of our product's, each line is an other item,`&lt;/P&gt;&lt;P&gt;Need to trim the lines,&amp;nbsp; this lines are just examples ... the lines can be more than 100 chars&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can split em up to manufacturer and Modell, but&amp;nbsp; how to concat them again in the in the wantet Format again? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 11:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009423#M968524</guid>
      <dc:creator />
      <dc:date>2015-09-23T11:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove duplicate words in a string</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009424#M968525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my idea and the result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/99820_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;z:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load row, rowno() as line &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;row&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Citroen C8 , Fiat Ulysse , Lancia Phedra , Peugeot 3008 ,&amp;nbsp; Peugeot 607 , Peugeot 807&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Porsche 911 , Porsche Boxster , Porsche Cayman&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;BMW 3 , BMW Z1 , BMW Z3, BMW Z4 , Rover 75 , Rover 200 , Saab 9-5&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;] (delimiter is '|');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join (z)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load row, trim(SubField(row, ',')) as split&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident z;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join (z)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load row, split, subfield(split, ' ') as car, subfield(split, ' ', 1) as brand&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident z;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;z1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;line, brand as brand1, concat(car, ',') as car1, brand &amp;amp; ' ' &amp;amp; concat(car, ',') as brandandcar&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident z&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;where brand &amp;lt;&amp;gt; car&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by brand, line;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table z;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;z2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load line, Concat(brandandcar, ',') resident z1 group by line;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 12:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009424#M968525</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-23T12:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove duplicate words in a string</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009425#M968526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;each line is an other item&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What kind of entity is item? Does it represent anything or is it just a string of characters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 12:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009425#M968526</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-09-23T12:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove duplicate words in a string</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009426#M968527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks good.....will try it in a quiet Moment....busy with other stuff.....will answer then..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 11:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-words-in-a-string/m-p/1009426#M968527</guid>
      <dc:creator />
      <dc:date>2015-09-24T11:17:02Z</dc:date>
    </item>
  </channel>
</rss>

