<?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: Read data from right to left in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Read-data-from-right-to-left/m-p/656700#M239784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this can be achieved by using mid function.&lt;/P&gt;&lt;P&gt;= &lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('-685922-685922-1FTSA07019.txt', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('-685922-685922-1FTSA07019.txt', '-', -1), (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('-685922-685922-1FTSA07019.txt', '.', -1) - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('-685922-685922-1FTSA07019.txt', '-', -1)) ) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Idea is mid (&amp;lt;string&amp;gt;, &amp;lt;index of '-' from right&amp;gt;, &amp;lt;index of '.' from right - index of '-' from right&amp;gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Arun&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2014 16:39:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-11T16:39:55Z</dc:date>
    <item>
      <title>Read data from right to left</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-right-to-left/m-p/656698#M239782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a column of data "file name" that I am trying to read each item from right to left starting at the end and stopping at the first - that it comes to and load it as "serial number". I have used sub-stings before but only going from left to right with a set amount of characters to read. In this case not all serial numbers are the same length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to return the part in red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 282px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="17" width="282"&gt;-685922-685922&lt;STRONG style="color: #ff0000;"&gt;-1FTSA07019.txt&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;-699509-699509&lt;STRONG style=": ; color: #ff0000;"&gt;-1CTSA05422.txt&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;-704002-704002&lt;STRONG style="color: #ff0000;"&gt;-1DTSA10880.txt&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 16:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-right-to-left/m-p/656698#M239782</guid>
      <dc:creator>mwscott1</dc:creator>
      <dc:date>2014-08-11T16:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from right to left</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-right-to-left/m-p/656699#M239783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or really just need what is between the - and the .txt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 16:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-right-to-left/m-p/656699#M239783</guid>
      <dc:creator>mwscott1</dc:creator>
      <dc:date>2014-08-11T16:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from right to left</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-right-to-left/m-p/656700#M239784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this can be achieved by using mid function.&lt;/P&gt;&lt;P&gt;= &lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('-685922-685922-1FTSA07019.txt', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('-685922-685922-1FTSA07019.txt', '-', -1), (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('-685922-685922-1FTSA07019.txt', '.', -1) - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('-685922-685922-1FTSA07019.txt', '-', -1)) ) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Idea is mid (&amp;lt;string&amp;gt;, &amp;lt;index of '-' from right&amp;gt;, &amp;lt;index of '.' from right - index of '-' from right&amp;gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Arun&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 16:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-right-to-left/m-p/656700#M239784</guid>
      <dc:creator />
      <dc:date>2014-08-11T16:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from right to left</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-right-to-left/m-p/656701#M239785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SubField(FileName,'-',-1) as Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubField(SubField(FileName,'-',-1),'.',1) as Result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 16:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-right-to-left/m-p/656701#M239785</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-11T16:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from right to left</title>
      <link>https://community.qlik.com/t5/QlikView/Read-data-from-right-to-left/m-p/656702#M239786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'-' &amp;amp; SubField([file name],'-',-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 16:54:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-data-from-right-to-left/m-p/656702#M239786</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-08-11T16:54:59Z</dc:date>
    </item>
  </channel>
</rss>

