<?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: substring in qlikview? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/substring-in-qlikview/m-p/361844#M703184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The string function 'mid' has features similar to SQL substring function. An extract from the Qlikview Reference manual is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;mid&lt;/SPAN&gt;( &lt;SPAN style="font-style: italic;"&gt;s&lt;/SPAN&gt; , &lt;SPAN style="font-style: italic;"&gt;n1&lt;/SPAN&gt; [ , &lt;SPAN style="font-style: italic;"&gt;n2&lt;/SPAN&gt; ] )&lt;/P&gt;&lt;P&gt;Substring of the string &lt;SPAN style="font-style: italic;"&gt;s&lt;/SPAN&gt;. The result is the string starting at character &lt;SPAN style="font-style: italic;"&gt;n1&lt;/SPAN&gt; with the length of &lt;SPAN style="font-style: italic;"&gt;n2&lt;/SPAN&gt; characters. If &lt;SPAN style="font-style: italic;"&gt;n2&lt;/SPAN&gt; is omitted, the function returns the rightmost part of the string starting at character &lt;SPAN style="font-style: italic;"&gt;n1&lt;/SPAN&gt;. The positions in the string are numbered from &lt;SPAN style="font-style: italic;"&gt;1&lt;/SPAN&gt; and up.&lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold;"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;mid&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;'abcdef'&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt; )&lt;/SPAN&gt; returns &lt;SPAN style="font-style: italic;"&gt;'cdef'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold;"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;mid&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;'abcdef'&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt; )&lt;/SPAN&gt; returns &lt;SPAN style="font-style: italic;"&gt;'cd'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold;"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;mid&lt;/SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt; )&lt;/SPAN&gt; where &lt;SPAN style="font-style: italic;"&gt;Date&lt;/SPAN&gt; = 970714 returns &lt;SPAN style="font-style: italic;"&gt;0714&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold;"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;mid&lt;/SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt; )&lt;/SPAN&gt; where &lt;SPAN style="font-style: italic;"&gt;Date&lt;/SPAN&gt; = 970714 returns &lt;SPAN style="font-style: italic;"&gt;07&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For a more complicated example, see the index function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Jul 2012 13:34:48 GMT</pubDate>
    <dc:creator>nagaiank</dc:creator>
    <dc:date>2012-07-22T13:34:48Z</dc:date>
    <item>
      <title>substring in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/substring-in-qlikview/m-p/361842#M703182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to catch string in value of a field, like substr in SQL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to catch et text between "from" and "to" of values from "type" field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;Status Changes From Affected to resolved&lt;/P&gt;&lt;P&gt;i would like only Affected, between from and To&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; type as TYPE&lt;/P&gt;&lt;P&gt;From &lt;/P&gt;&lt;P&gt;[\\s-vm-qvw-01\SM7\activity_GCE_RS.qvd]&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea for helping me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stephane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2012 12:55:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substring-in-qlikview/m-p/361842#M703182</guid>
      <dc:creator />
      <dc:date>2012-07-22T12:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: substring in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/substring-in-qlikview/m-p/361843#M703183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TextBetween(type,'From ',' to ')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2012 13:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substring-in-qlikview/m-p/361843#M703183</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-07-22T13:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: substring in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/substring-in-qlikview/m-p/361844#M703184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The string function 'mid' has features similar to SQL substring function. An extract from the Qlikview Reference manual is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;mid&lt;/SPAN&gt;( &lt;SPAN style="font-style: italic;"&gt;s&lt;/SPAN&gt; , &lt;SPAN style="font-style: italic;"&gt;n1&lt;/SPAN&gt; [ , &lt;SPAN style="font-style: italic;"&gt;n2&lt;/SPAN&gt; ] )&lt;/P&gt;&lt;P&gt;Substring of the string &lt;SPAN style="font-style: italic;"&gt;s&lt;/SPAN&gt;. The result is the string starting at character &lt;SPAN style="font-style: italic;"&gt;n1&lt;/SPAN&gt; with the length of &lt;SPAN style="font-style: italic;"&gt;n2&lt;/SPAN&gt; characters. If &lt;SPAN style="font-style: italic;"&gt;n2&lt;/SPAN&gt; is omitted, the function returns the rightmost part of the string starting at character &lt;SPAN style="font-style: italic;"&gt;n1&lt;/SPAN&gt;. The positions in the string are numbered from &lt;SPAN style="font-style: italic;"&gt;1&lt;/SPAN&gt; and up.&lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold;"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;mid&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;'abcdef'&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt; )&lt;/SPAN&gt; returns &lt;SPAN style="font-style: italic;"&gt;'cdef'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold;"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;mid&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;'abcdef'&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt; )&lt;/SPAN&gt; returns &lt;SPAN style="font-style: italic;"&gt;'cd'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold;"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;mid&lt;/SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt; )&lt;/SPAN&gt; where &lt;SPAN style="font-style: italic;"&gt;Date&lt;/SPAN&gt; = 970714 returns &lt;SPAN style="font-style: italic;"&gt;0714&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold;"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;mid&lt;/SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt; )&lt;/SPAN&gt; where &lt;SPAN style="font-style: italic;"&gt;Date&lt;/SPAN&gt; = 970714 returns &lt;SPAN style="font-style: italic;"&gt;07&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For a more complicated example, see the index function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2012 13:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substring-in-qlikview/m-p/361844#M703184</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2012-07-22T13:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: substring in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/substring-in-qlikview/m-p/361845#M703185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right. The two solutions are good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2012 15:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substring-in-qlikview/m-p/361845#M703185</guid>
      <dc:creator />
      <dc:date>2012-07-22T15:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: substring in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/substring-in-qlikview/m-p/1541824#M703186</link>
      <description>&lt;P&gt;Thanks so much.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 22:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substring-in-qlikview/m-p/1541824#M703186</guid>
      <dc:creator>hector_obregon_</dc:creator>
      <dc:date>2019-02-08T22:18:36Z</dc:date>
    </item>
  </channel>
</rss>

