<?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 Remove first and last comma in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599385#M221890</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 field with comma separated values, like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;, PB , D , 28006 , 0 , 0 ,&amp;nbsp;&amp;nbsp; 9 ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using SUBFIELD(MyField,',',) as MyNewField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however I keep getting blank values for the first and last comma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to remove the first and last comma while still using the above SUBFIELD Function&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;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2014 10:14:45 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2014-02-18T10:14:45Z</dc:date>
    <item>
      <title>Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599385#M221890</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 field with comma separated values, like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;, PB , D , 28006 , 0 , 0 ,&amp;nbsp;&amp;nbsp; 9 ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using SUBFIELD(MyField,',',) as MyNewField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however I keep getting blank values for the first and last comma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to remove the first and last comma while still using the above SUBFIELD Function&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;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599385#M221890</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-18T10:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599386#M221891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPLACE will remove the first, but not the last comma it seems&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599386#M221891</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-18T10:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599387#M221892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u send sample excel &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599387#M221892</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2014-02-18T10:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599388#M221893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you know that the string always starts and ends with commas, you can use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Subfield( Mid( MyField, 2, Len(MyField)-2 ), ',' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599388#M221893</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-02-18T10:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599389#M221894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see the attached excel file example&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;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599389#M221894</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-18T10:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599390#M221895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;what about cutting the first and last two chars similar to this:&lt;/P&gt;&lt;P&gt;=SUBFIELD(MID(InPut, 2, Len(Input)-2) , ',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hth&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599390#M221895</guid>
      <dc:creator />
      <dc:date>2014-02-18T10:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599391#M221896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the source of the field? Maybe you can just read it like a CSV source?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599391#M221896</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-02-18T10:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599392#M221897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks HIC, t&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;his is correct for what I asked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I just noticed that all have a Comma at the End of the String but not all start with a Comma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599392#M221897</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-18T10:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599393#M221898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Subfield( &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF( Left(Trim(MyField),1)=',', Mid( Trim(MyField), 2, Len(Trim(MyField))-2 ), ',' ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Left( Trim(MyField), Len(Trim(MyField))-1 ),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ',' )&lt;/SPAN&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;HIC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599393#M221898</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-02-18T10:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599394#M221899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am actually taking it from a Database!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it's structured that way because of the volume, it's an audit database of all activity in another system&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;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599394#M221899</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-18T10:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599395#M221900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How the field content looks if it doesn't start with a comma? Is there a value for the first subfield? I would guess it has the same structure..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599395#M221900</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-02-18T10:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599396#M221901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There does not seem to be any value before the first comma&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;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599396#M221901</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-18T10:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599397#M221902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Henric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that does not seem to be working&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;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599397#M221902</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-18T10:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599398#M221903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then please post an example with the different content..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 11:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599398#M221903</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-02-18T11:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599399#M221904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached file&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;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 11:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599399#M221904</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-18T11:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599400#M221905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;..but how you will handle those different record types/structures? Do you have the record descriptions? If not I think the values are meaningless.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 11:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599400#M221905</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-02-18T11:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Remove first and last comma</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599401#M221906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are correct, the Database Structure was written by the MD, I am meeting him shortly, I just wanted to try so I have an answer to give him.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I done a SUBSTRINGCOUNT and some strings contain 256 values, it's crazy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everyone for their help&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;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 11:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-first-and-last-comma/m-p/599401#M221906</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-18T11:21:58Z</dc:date>
    </item>
  </channel>
</rss>

