<?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 Removing characters from field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Removing-characters-from-field/m-p/1587660#M738569</link>
    <description>&lt;P&gt;I want to use the filename of my datafile as a field however the filename is a URL as it's a webfile from SharePoint. Is there a way I can trim a field if the the result is currently like..?&lt;/P&gt;&lt;P&gt;/test.sp.test.com/sites/dept/it/Flat%2020File%20Repository/IT/test/Shapshots/2019-05%20Export.csv&lt;/P&gt;&lt;P&gt;Ideally all I want the field to show is 2019-05 but if its not possible to trim on from the right as well it doesn't matter, it just looks ugly with all the other bits in it!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:24:32 GMT</pubDate>
    <dc:creator>khaycock</dc:creator>
    <dc:date>2024-11-16T03:24:32Z</dc:date>
    <item>
      <title>Removing characters from field</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-characters-from-field/m-p/1587660#M738569</link>
      <description>&lt;P&gt;I want to use the filename of my datafile as a field however the filename is a URL as it's a webfile from SharePoint. Is there a way I can trim a field if the the result is currently like..?&lt;/P&gt;&lt;P&gt;/test.sp.test.com/sites/dept/it/Flat%2020File%20Repository/IT/test/Shapshots/2019-05%20Export.csv&lt;/P&gt;&lt;P&gt;Ideally all I want the field to show is 2019-05 but if its not possible to trim on from the right as well it doesn't matter, it just looks ugly with all the other bits in it!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-characters-from-field/m-p/1587660#M738569</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2024-11-16T03:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Removing characters from field</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-characters-from-field/m-p/1587663#M738570</link>
      <description>&lt;P&gt;You can do this using a couple of subfield() commands, to extract the text from the end of the field to the first '/', then from the start of the extracted text to the first %.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;subfield(subfield(&amp;lt;yourfilepath&amp;gt;, '/', -1), '%', 1) as file_date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/StringFunctions/SubField.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/StringFunctions/SubField.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 13:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-characters-from-field/m-p/1587663#M738570</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2019-06-03T13:42:39Z</dc:date>
    </item>
  </channel>
</rss>

