<?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 Trim multiple times per field in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Trim-multiple-times-per-field/m-p/1786152#M61301</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm currently trimming the first 63 characters of a field using the below expression to eliminate non required data.&lt;BR /&gt;&lt;BR /&gt;download.cfm?file=XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXX&amp;amp;filename=XXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;Right(&lt;STRONG&gt;field&lt;/STRONG&gt;, Len(&lt;STRONG&gt;field&lt;/STRONG&gt;)-63)&lt;/P&gt;&lt;P&gt;To leave&lt;BR /&gt;&lt;BR /&gt;XXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;However, the data, sometimes, if there has been multiple files submitted in this instance, this will concate like the below.&lt;BR /&gt;&lt;BR /&gt;download.cfm?file=XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXX&amp;amp;filename=XXXXXXXXX,download.cfm?file=XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXX&amp;amp;filename=XXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;I need to remove&amp;nbsp;download.cfm?file=XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXX&amp;amp;filename=XXXXXXXXX each time it is present in a field to leave just the filename in the instance.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;XXXX changes per every file upload.&lt;BR /&gt;&lt;BR /&gt;Is this possible?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:26:52 GMT</pubDate>
    <dc:creator>unknownb</dc:creator>
    <dc:date>2024-11-16T17:26:52Z</dc:date>
    <item>
      <title>Trim multiple times per field</title>
      <link>https://community.qlik.com/t5/App-Development/Trim-multiple-times-per-field/m-p/1786152#M61301</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm currently trimming the first 63 characters of a field using the below expression to eliminate non required data.&lt;BR /&gt;&lt;BR /&gt;download.cfm?file=XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXX&amp;amp;filename=XXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;Right(&lt;STRONG&gt;field&lt;/STRONG&gt;, Len(&lt;STRONG&gt;field&lt;/STRONG&gt;)-63)&lt;/P&gt;&lt;P&gt;To leave&lt;BR /&gt;&lt;BR /&gt;XXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;However, the data, sometimes, if there has been multiple files submitted in this instance, this will concate like the below.&lt;BR /&gt;&lt;BR /&gt;download.cfm?file=XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXX&amp;amp;filename=XXXXXXXXX,download.cfm?file=XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXX&amp;amp;filename=XXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;I need to remove&amp;nbsp;download.cfm?file=XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXX&amp;amp;filename=XXXXXXXXX each time it is present in a field to leave just the filename in the instance.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;XXXX changes per every file upload.&lt;BR /&gt;&lt;BR /&gt;Is this possible?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trim-multiple-times-per-field/m-p/1786152#M61301</guid>
      <dc:creator>unknownb</dc:creator>
      <dc:date>2024-11-16T17:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trim multiple times per field</title>
      <link>https://community.qlik.com/t5/App-Development/Trim-multiple-times-per-field/m-p/1786193#M61307</link>
      <description>&lt;P&gt;You may use subfield() with two parameters or alternatively with three parameter by using while with iterno() to split the string into multiple records and then applying your original trimming.&lt;/P&gt;&lt;P&gt;Further possible may be to use subfield() with three parameters and/or textbetween() and various string-functions like substringcount(), index(), keep/purgechar() as well as the classical string-functions like left/mid/right() and so on to extract your wanted content.&lt;/P&gt;&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 14:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trim-multiple-times-per-field/m-p/1786193#M61307</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-02-25T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trim multiple times per field</title>
      <link>https://community.qlik.com/t5/App-Development/Trim-multiple-times-per-field/m-p/1786197#M61308</link>
      <description>&lt;P&gt;I am not sure&amp;nbsp;&lt;/P&gt;&lt;P&gt;but you can try filebasename() at script level&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 14:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trim-multiple-times-per-field/m-p/1786197#M61308</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2021-02-25T14:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trim multiple times per field</title>
      <link>https://community.qlik.com/t5/App-Development/Trim-multiple-times-per-field/m-p/1786572#M61342</link>
      <description>&lt;P&gt;Thanks for the replies so far, is there anyway to do this not a script level and in app.&lt;BR /&gt;&lt;BR /&gt;Can you advise how the subfield() would work in this instance?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trim-multiple-times-per-field/m-p/1786572#M61342</guid>
      <dc:creator>unknownb</dc:creator>
      <dc:date>2021-02-26T12:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trim multiple times per field</title>
      <link>https://community.qlik.com/t5/App-Development/Trim-multiple-times-per-field/m-p/1786603#M61346</link>
      <description>&lt;P&gt;You could use subfield() with &lt;STRONG&gt;3 parameters&lt;/STRONG&gt;, textbeween() and all the other mentioned string-functions within the UI, too.&lt;/P&gt;&lt;P&gt;But you couldn't apply any kind of loop-processing else the transformation needs to be done always and completely against the origin string-value. Further if the result shouldn't be only displayed as a measure you creates with such approach a calculated dimension which is evaluated again and again against the dataset and needs more resources as native dimensions.&lt;/P&gt;&lt;P&gt;Further disadvantages could occur within the display of the current selection box and by the needs to use them within aggr() or TOTAL statements.&lt;/P&gt;&lt;P&gt;In short: nothing is speaking for doing such transformation within the UI else the recommended way would be to do it within the script.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 13:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trim-multiple-times-per-field/m-p/1786603#M61346</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-02-26T13:41:22Z</dc:date>
    </item>
  </channel>
</rss>

