<?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: How to take a substring of a string? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-take-a-substring-of-a-string/m-p/103183#M602178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield('C:\Users\thom.yorke\Desktop\Samples\file1.doc', '\', -1) to get the filename with extension and another subfield() could also split them like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield(subfield('C:\Users\thom.yorke\Desktop\Samples\file1.doc', '\', -1), '.', 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it should happens within a load you could also use filebasename().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2018 14:32:30 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-08-03T14:32:30Z</dc:date>
    <item>
      <title>How to take a substring of a string?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-a-substring-of-a-string/m-p/103182#M602177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;i want to obtain a substring (last part) of a string, because i've a path conteining a file name and i have to retrieve only the file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The work case is the following:&lt;/P&gt;&lt;P&gt;PATH: C:\Users\thom.yorke\Desktop\Samples\file1.doc&lt;/P&gt;&lt;P&gt;PATH FOLDER: &lt;SPAN style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;C:\Users\thom.yorke\Desktop\Samples\&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NAME TO RETRIEVE: file1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a method to subtract PATH FOLDER to string PATH?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 09:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-a-substring-of-a-string/m-p/103182#M602177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-03T09:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to take a substring of a string?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-a-substring-of-a-string/m-p/103183#M602178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield('C:\Users\thom.yorke\Desktop\Samples\file1.doc', '\', -1) to get the filename with extension and another subfield() could also split them like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield(subfield('C:\Users\thom.yorke\Desktop\Samples\file1.doc', '\', -1), '.', 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it should happens within a load you could also use filebasename().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 14:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-a-substring-of-a-string/m-p/103183#M602178</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-08-03T14:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to take a substring of a string?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-a-substring-of-a-string/m-p/103184#M602181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, it works fine!&lt;/P&gt;&lt;P&gt;Thank You a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 14:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-a-substring-of-a-string/m-p/103184#M602181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-03T14:36:56Z</dc:date>
    </item>
  </channel>
</rss>

