<?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 String within string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641231#M677443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a small problem.&lt;/P&gt;&lt;P&gt;I'm pretty new with qlikview, and I'd appreciate your help.&lt;/P&gt;&lt;P&gt;I have a values in table that is a path to a file.&lt;/P&gt;&lt;P&gt;Ex: c:\qlikview\projects\testOne\some other files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c:\qlikview\projects\testTwo\some other files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c:\qlikview\projects\testFive\some other files&lt;/P&gt;&lt;P&gt;I would like to extract the part between projects\ and \some other files.&lt;/P&gt;&lt;P&gt;Because it is not always the same number of characters, i do not know how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2014 16:30:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-05T16:30:38Z</dc:date>
    <item>
      <title>String within string</title>
      <link>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641231#M677443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a small problem.&lt;/P&gt;&lt;P&gt;I'm pretty new with qlikview, and I'd appreciate your help.&lt;/P&gt;&lt;P&gt;I have a values in table that is a path to a file.&lt;/P&gt;&lt;P&gt;Ex: c:\qlikview\projects\testOne\some other files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c:\qlikview\projects\testTwo\some other files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c:\qlikview\projects\testFive\some other files&lt;/P&gt;&lt;P&gt;I would like to extract the part between projects\ and \some other files.&lt;/P&gt;&lt;P&gt;Because it is not always the same number of characters, i do not know how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 16:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641231#M677443</guid>
      <dc:creator />
      <dc:date>2014-06-05T16:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: String within string</title>
      <link>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641232#M677444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;subfield("FieldName",'\',4) should return testOne, or testTwo etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where "FieldName" is the name of the field containing your strings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 16:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641232#M677444</guid>
      <dc:creator />
      <dc:date>2014-06-05T16:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: String within string</title>
      <link>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641233#M677445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where will you be using these new strings?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 16:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641233#M677445</guid>
      <dc:creator />
      <dc:date>2014-06-05T16:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: String within string</title>
      <link>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641234#M677446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain please how it works?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 16:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641234#M677446</guid>
      <dc:creator />
      <dc:date>2014-06-05T16:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: String within string</title>
      <link>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641235#M677447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll use it like a field that can be selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 16:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641235#M677447</guid>
      <dc:creator />
      <dc:date>2014-06-05T16:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: String within string</title>
      <link>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641236#M677448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the syntax from the QlikView Help docs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor1268"&gt;&lt;/A&gt;&lt;A class="Bold" name="subfield"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;subfield&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;s, 'delimiter' [ , index ] &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;In its three-parameter version, this script function returns a given substring from a larger string &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt; with delimiter &lt;SPAN class="Italic"&gt;'delimiter'&lt;/SPAN&gt;. &lt;SPAN class="Italic"&gt;index&lt;/SPAN&gt; is an optional integer denoting which of the substrings should be returned. If &lt;SPAN class="Italic"&gt;index&lt;/SPAN&gt; is omitted when&lt;SPAN style="font-weight: bold;"&gt; &lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;subfield&lt;/SPAN&gt;&lt;/SPAN&gt; is used in a field expression in a &lt;SPAN style="font-weight: bold;"&gt;load&lt;/SPAN&gt; statement, the &lt;SPAN style="color: #ffffff; background-color: #3399ff; font-weight: bold;"&gt;subfield&lt;/SPAN&gt; function will cause the &lt;SPAN style="font-weight: bold;"&gt;load&lt;/SPAN&gt; statement to automatically generate one full record of input data for each substring that can be found in &lt;SPAN style="font-style: italic;"&gt;s&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;In its two-parameter version, the &lt;SPAN style="color: #ffffff; background-color: #3399ff; font-weight: bold;"&gt;subfield&lt;/SPAN&gt; function generates one record for each substring that can be taken from a larger string &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt; with the delimiter &lt;SPAN class="Italic"&gt;'delimiter'&lt;/SPAN&gt;. If several &lt;SPAN style="color: #ffffff; background-color: #3399ff; font-weight: bold;"&gt;subfield&lt;/SPAN&gt; functions are used in the same &lt;SPAN style="font-weight: bold;"&gt;load&lt;/SPAN&gt; statement, the Cartesian product of all combinations will be generated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example subfield('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;c:\qlikview\projects\testOne\some other files&lt;/SPAN&gt;','\,4) will return the string 'testOne'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 16:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641236#M677448</guid>
      <dc:creator />
      <dc:date>2014-06-05T16:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: String within string</title>
      <link>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641237#M677449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, you are the best &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 16:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641237#M677449</guid>
      <dc:creator />
      <dc:date>2014-06-05T16:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: String within string</title>
      <link>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641238#M677450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem! Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 16:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-within-string/m-p/641238#M677450</guid>
      <dc:creator />
      <dc:date>2014-06-05T16:44:46Z</dc:date>
    </item>
  </channel>
</rss>

