<?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 leading / trailing commas in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Remove-leading-trailing-commas/m-p/1941635#M77582</link>
    <description>&lt;P&gt;Thanks! However, this does not work. It drops the leading comma and the first character of the next field because of the 2. It also leaves in tact all the multiple commas I want to remove. Here is the result when I try Mid(Replace....)&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ccifaldi_0-1654778619079.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81377iAB65B775353CB00D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ccifaldi_0-1654778619079.png" alt="ccifaldi_0-1654778619079.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2022 12:44:09 GMT</pubDate>
    <dc:creator>ccifaldi</dc:creator>
    <dc:date>2022-06-09T12:44:09Z</dc:date>
    <item>
      <title>Remove leading / trailing commas</title>
      <link>https://community.qlik.com/t5/App-Development/Remove-leading-trailing-commas/m-p/1941270#M77565</link>
      <description>&lt;P&gt;Hello! I have text data that is combined from multiple fields. The values need commas between them, which I have added. However, some of the fields are blank and the result yields multiple commas in a row. I am using Replace to remove multiple commas in a row. However, I need to remove any leading or trailing commas as well. First image below is script to combine the fields. Second image is the replace function. Third is the output before and after the replace function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ccifaldi_0-1654719122933.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81294iF5D1CDD9858CF261/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ccifaldi_0-1654719122933.png" alt="ccifaldi_0-1654719122933.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ccifaldi_1-1654719156741.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81295i9AB3ED6FB34B4D84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ccifaldi_1-1654719156741.png" alt="ccifaldi_1-1654719156741.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ccifaldi_2-1654719204399.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81296iD97C7E384050521D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ccifaldi_2-1654719204399.png" alt="ccifaldi_2-1654719204399.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 20:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Remove-leading-trailing-commas/m-p/1941270#M77565</guid>
      <dc:creator>ccifaldi</dc:creator>
      <dc:date>2022-06-08T20:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Remove leading / trailing commas</title>
      <link>https://community.qlik.com/t5/App-Development/Remove-leading-trailing-commas/m-p/1941375#M77569</link>
      <description>&lt;P&gt;Try As below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=Mid(Replace(field,',,',''),2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 06:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Remove-leading-trailing-commas/m-p/1941375#M77569</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-06-09T06:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Remove leading / trailing commas</title>
      <link>https://community.qlik.com/t5/App-Development/Remove-leading-trailing-commas/m-p/1941635#M77582</link>
      <description>&lt;P&gt;Thanks! However, this does not work. It drops the leading comma and the first character of the next field because of the 2. It also leaves in tact all the multiple commas I want to remove. Here is the result when I try Mid(Replace....)&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ccifaldi_0-1654778619079.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81377iAB65B775353CB00D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ccifaldi_0-1654778619079.png" alt="ccifaldi_0-1654778619079.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 12:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Remove-leading-trailing-commas/m-p/1941635#M77582</guid>
      <dc:creator>ccifaldi</dc:creator>
      <dc:date>2022-06-09T12:44:09Z</dc:date>
    </item>
  </channel>
</rss>

