<?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: Remove last substring from a string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-last-substring-from-a-string/m-p/1653230#M594000</link>
    <description>&lt;P&gt;Thank you, it worked perfectly!&lt;/P&gt;&lt;P&gt;I was assuming it had to do with the Index function.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2019 16:25:07 GMT</pubDate>
    <dc:creator>patriciabb</dc:creator>
    <dc:date>2019-12-02T16:25:07Z</dc:date>
    <item>
      <title>Remove last substring from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-last-substring-from-a-string/m-p/1653209#M593996</link>
      <description>&lt;P&gt;Hi there, I have a field (called GROUP) containing multiple strings like this one:&lt;/P&gt;&lt;P&gt;Group1/Group2/Group3/Group4/Group5&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;I don't always have the same number of substrings (divided by the '/'), sometimes there are more than 5 and sometimes less than 5.&lt;/P&gt;&lt;P&gt;I'd like to remove from these strings the last subfield, intependently of the number of substrings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone any clue about how could I get this done?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-last-substring-from-a-string/m-p/1653209#M593996</guid>
      <dc:creator>patriciabb</dc:creator>
      <dc:date>2024-11-16T19:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Remove last substring from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-last-substring-from-a-string/m-p/1653222#M593997</link>
      <description>&lt;P&gt;use the formla:&amp;nbsp;=SubField('Group1/Group2/Group3/Group4/Group5','/',-1)&lt;BR /&gt;it retreives the last subfield after the defined character from right (defining -1)&lt;/P&gt;&lt;P&gt;instead of hardcoded text use your data field&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 16:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-last-substring-from-a-string/m-p/1653222#M593997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-02T16:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Remove last substring from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-last-substring-from-a-string/m-p/1653224#M593998</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;As long as you have at least two substrings this should work for you&lt;/P&gt;&lt;P&gt;Left(GROUP ,Index(GROUP,'/',SubStringCount(GROUP,'/'))-1)&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 16:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-last-substring-from-a-string/m-p/1653224#M593998</guid>
      <dc:creator>atoz1158</dc:creator>
      <dc:date>2019-12-02T16:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remove last substring from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-last-substring-from-a-string/m-p/1653229#M593999</link>
      <description>&lt;P&gt;Thanks, but that's not what I'm looking for, I wanted to keep the rest of the string, not the last one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 16:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-last-substring-from-a-string/m-p/1653229#M593999</guid>
      <dc:creator>patriciabb</dc:creator>
      <dc:date>2019-12-02T16:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remove last substring from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-last-substring-from-a-string/m-p/1653230#M594000</link>
      <description>&lt;P&gt;Thank you, it worked perfectly!&lt;/P&gt;&lt;P&gt;I was assuming it had to do with the Index function.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 16:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-last-substring-from-a-string/m-p/1653230#M594000</guid>
      <dc:creator>patriciabb</dc:creator>
      <dc:date>2019-12-02T16:25:07Z</dc:date>
    </item>
  </channel>
</rss>

